Click or drag to resize

ShellHistoryToolStrip Class

The ShellHistoryToolstrip menu provides a convenient way to navigate just like you would do using the explorer. Simply drop the ShellHistoryToolStrip on a ToolStrip container and connect it to a ShellControlConnector, off you go! Customize your forward and back button in the properties editor like you would do with any other button in your project. You can easily add more ToolStripItems to the menu if you desire.
Inheritance Hierarchy
SystemObject
  SystemMarshalByRefObject
    System.ComponentModelComponent
      System.Windows.FormsControl
        System.Windows.FormsScrollableControl
          System.Windows.FormsToolStrip
            Jam.ShellShellHistoryToolStrip

Namespace: Jam.Shell
Assembly: ShellBrowser (in ShellBrowser.dll) Version: 7.2
Syntax
public class ShellHistoryToolStrip : ToolStrip, 
	IShellControl, IShellControlConnectorTarget, ISupportInitialize, ISupportInitializeNotification

The ShellHistoryToolStrip type exposes the following members.

Constructors
 NameDescription
Public methodShellHistoryToolStrip Default constructor of the ShellHistory class
Top
Properties
 NameDescription
Public propertyHistoryBackButton This property allows you to access the forward button of the ShellHistoryToolStrip, it may be customized as needed. However its dropdown items change each time a FolderChanged event occurs in the ShellControlConnector this component is connected to.
Public propertyHistoryForwardButton This property allows you to access the forward button of the ShellHistoryToolStrip, it may be customized as needed. However its dropdown items change each time a FolderChanged event occurs in the ShellControlConnector this component is connected to.
Public propertyHistoryMaxLength Set the maximum length of the displayed history list. This List is obtained from the registered ShellControlConnector.
Public propertyIsInitialized Returns true if the control has been initialized (the designer generated code was executed)
Public propertyShellControlConnector Connects this control to a ShellControlConnector component, which allows to synchronize several shell controls.
Public propertyVersion The current version of the ShellBrowser.
Top
Methods
 NameDescription
Public methodBeginInit Signals the object that initialization is starting.
Public methodEndInit Signals the object that initialization is complete.
Public methodFolderChanged(ItemIdList) If this method gets called from the ShellControlConnector, the history drop down combobox is being updated to reflect the new folder history.
Protected methodFolderChanged(Object, EventArgs) This method gets called on the FolderChanged event of the ShellControlConnector
Public methodFullRefresh IShellControl interface implementation, empty for the ShellHistoryToolStrip. Calling this method has not effect.
Public methodGoUp IShellControl interface implementation, empty for the ShellHistoryToolStrip. Calling this method has not effect.
Public methodRefresh(RefreshLevel) IShellControl interface implementation, empty for the ShellHistoryToolStrip. Calling this method has not effect.
Public methodRefresh(RefreshLevel, ItemIdList) IShellControl interface implementation, empty for the ShellHistoryToolStrip. Calling this method has not effect.
Public methodSelectedFileChange IShellControl interface implementation, empty for the ShellHistoryToolStrip. Calling this method has not effect.
Public methodSmartRefresh IShellControl interface implementation, empty for the ShellHistoryToolStrip. Calling this method has not effect.
Top
Events
 NameDescription
Public eventInitialized Occurs if the designer generated code has finished executing
Top
Extension Methods
 NameDescription
Public Extension MethodGetSelfAndDescendants Returns a flattened collection of a control and all of its descendant controls.
(Defined by ExtensionMethods)
Public Extension MethodHandleNeededA Control extension method that ensures that the handle for a control is created.
(Defined by ExtensionMethods)
Public Extension MethodScaledPixelsAn extension method for controls: It scales the passed pixels according to the current dpi the control is displayed with.
(Defined by ExtensionMethods)
Public Extension MethodScaleFontA Control extension method that scales font according to the passed factor.
(Defined by ExtensionMethods)
Top
See Also