Click or drag to resize

CustomToolBar Class

Customized Win32ToolBar.
Inheritance Hierarchy
SystemObject
  SystemMarshalByRefObject
    System.ComponentModelComponent
      System.Windows.FormsControl
        Jam.ShellWin32ToolBar
          Jam.ShellCustomToolBar
            Jam.ShellShellHistoryToolBar

Namespace: Jam.Shell
Assembly: ShellBrowser (in ShellBrowser.dll) Version: 7.2
Syntax
public class CustomToolBar : Win32ToolBar

The CustomToolBar type exposes the following members.

Constructors
 NameDescription
Public methodCustomToolBarInitializes a new instance of the CustomToolBar class
Top
Properties
 NameDescription
Public propertyAppearanceGets or set the value that determines the appearance of a toolbar control and its buttons.
(Inherited from Win32ToolBar)
Public propertyAutoSizeGets or sets a value indicating whether the toolbar adjusts its size automatically, based on the size of the buttons and the dock style.
(Inherited from Win32ToolBar)
Public propertyBackColorGets or sets the background color.
(Inherited from Win32ToolBar)
Public propertyBackgroundImageGets or sets the background image.
(Inherited from Win32ToolBar)
Public propertyBackgroundImageLayoutGets or sets the layout for background image.
(Inherited from Win32ToolBar)
Public propertyBorderStyleGets or sets the border style of the toolbar control.
(Inherited from Win32ToolBar)
Public propertyButtonHeightGets or sets the height of the buttons.
Public propertyButtonsGets the collection of Win32ToolBarButton controls assigned to the toolbar control.
(Inherited from Win32ToolBar)
Public propertyButtonSizeGets or sets the size of the buttons on the toolbar control.
(Inherited from Win32ToolBar)
Protected propertyCreateParams Gets the required creation parameters when the control handle is created.
(Overrides Win32ToolBarCreateParams)
Protected propertyDefaultImeModeGets the default Input Method Editor (IME) mode supported by this control.
(Inherited from Win32ToolBar)
Protected propertyDefaultSizeGets the default size of the control.
(Inherited from Win32ToolBar)
Public propertyDividerGets or sets a value indicating whether the toolbar displays a divider.
(Inherited from Win32ToolBar)
Public propertyDockGets or sets which control borders are docked to its parent control and determines how a control is resized with its parent.
(Inherited from Win32ToolBar)
Protected propertyDoubleBuffered This member is not meaningful for this control.
(Overrides Win32ToolBarDoubleBuffered)
Public propertyDropDownArrowsGets or sets a value indicating whether drop-down buttons on a toolbar display down arrows.
(Inherited from Win32ToolBar)
Public propertyForeColorGets or sets the forecolor .
(Inherited from Win32ToolBar)
Public propertyHideClippedButtons Determines if partial clipped buttons should be hidden or shown.
Public propertyImageListGets or sets the collection of images available to the toolbar button controls.
(Inherited from Win32ToolBar)
Public propertyImageSizeGets the size of the images in the image list assigned to the toolbar.
(Inherited from Win32ToolBar)
Public propertyImeModeThis member is not meaningful for this control.
(Inherited from Win32ToolBar)
Public propertyOwnerDraw Determines if control supports owner-drawing.
Public propertyPadding Gets or sets the padding.
Public propertyRightToLeftThis member is not meaningful for this control.
(Inherited from Win32ToolBar)
Public propertyShowToolTipsGets or sets a value indicating whether the toolbar displays a ToolTip for each button.
(Inherited from Win32ToolBar)
Public propertyTabStopThis property is not meaningful for this control.
(Inherited from Win32ToolBar)
Public propertyTextGets or sets the text for the toolbar.
(Inherited from Win32ToolBar)
Public propertyTextAlignGets or sets the alignment of text in relation to each image displayed on the toolbar button controls.
(Inherited from Win32ToolBar)
Public propertyVersion The current version of the ShellBrowser components.
Public propertyWrappableGets or sets a value indicating whether the toolbar buttons wrap to the next line if the toolbar becomes too small to display all the buttons on the same line.
(Inherited from Win32ToolBar)
Top
Methods
 NameDescription
Protected methodCreateHandleCreates a handle for the control.
(Inherited from Win32ToolBar)
Protected methodDisposeReleases the unmanaged resources used by the Win32ToolBar and optionally releases the managed resources.
(Inherited from Win32ToolBar)
Protected methodIndexOf Retrieves the zero-based index for the button associated with the specified command identifier.
Protected methodOnButtonClickRaises the ButtonClick event.
(Inherited from Win32ToolBar)
Protected methodOnButtonDropDownRaises the ButtonDropDown event.
(Inherited from Win32ToolBar)
Protected methodOnCustomDraw Provides support for custom drawing.
Protected methodOnCustomDrawButton Provides support for button custom drawing.
Protected methodOnFontChangedRaises the FontChanged event.
(Inherited from Win32ToolBar)
Protected methodOnHandleCreated Raises the HandleCreated event.
(Overrides Win32ToolBarOnHandleCreated(EventArgs))
Protected methodOnResizeRaises the Resize event.
(Inherited from Win32ToolBar)
Protected methodScaleControlScales a control's location, size, padding and margin.
(Inherited from Win32ToolBar)
Protected methodScaleCoreThis method is not relevant for this class.
(Inherited from Win32ToolBar)
Protected methodSetBoundsCoreSets the specified bounds of the Win32ToolBar control.
(Inherited from Win32ToolBar)
Public methodSetIndentSets the indentation for the first button.
Protected methodShouldSerializeButtonSizeDetermine if we should serialize the ButtonSize property.
(Inherited from Win32ToolBar)
Public methodToStringReturns a string that represents the control.
(Inherited from Win32ToolBar)
Protected methodWmNotify Processes WM_NOTIFY messages.
Protected methodWndProc Processes Windows messages.
(Overrides Win32ToolBarWndProc(Message))
Top
Events
 NameDescription
Public eventAutoSizeChangedOccurs when the value of the AutoSize property has changed.
(Inherited from Win32ToolBar)
Public eventBackColorChangedOccurs when the BackColor property changes.
(Inherited from Win32ToolBar)
Public eventBackgroundImageChangedOccurs when the BackgroundImage property changes.
(Inherited from Win32ToolBar)
Public eventBackgroundImageLayoutChangedOccurs when the BackgroundImageLayout property changes.
(Inherited from Win32ToolBar)
Public eventButtonClickOccurs when a Win32ToolBarButton on the Win32ToolBar is clicked.
(Inherited from Win32ToolBar)
Public eventButtonDropDownOccurs when a drop-down style Win32ToolBarButton or its down arrow is clicked.
(Inherited from Win32ToolBar)
Public eventDrawButton Occurs if a button is drawn and OwnerDraw is set to true.
Public eventForeColorChangedOccurs when the ForeColor property changes.
(Inherited from Win32ToolBar)
Public eventImeModeChangedOccurs when the ImeMode property changes.
(Inherited from Win32ToolBar)
Public eventPaintThis member is not meaningful for this control.
(Inherited from Win32ToolBar)
Public eventRightToLeftChangedOccurs when the RightToLeft property changes.
(Inherited from Win32ToolBar)
Public eventTextChangedOccurs when the Text property changes.
(Inherited from Win32ToolBar)
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