Click or drag to resize

Win32ToolBar Class

Represents a Windows toolbar. Only serves as base class for the BreadCrumbBar and other ShellBrowser components.
Inheritance Hierarchy
SystemObject
  SystemMarshalByRefObject
    System.ComponentModelComponent
      System.Windows.FormsControl
        Jam.ShellWin32ToolBar
          Jam.ShellCustomToolBar

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

The Win32ToolBar type exposes the following members.

Constructors
 NameDescription
Public methodWin32ToolBarInitializes a new instance.
Top
Properties
 NameDescription
Public propertyAppearanceGets or set the value that determines the appearance of a toolbar control and its buttons.
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.
(Overrides Control.AutoSize)
Public propertyBackColorGets or sets the background color.
(Overrides ControlBackColor)
Public propertyBackgroundImageGets or sets the background image.
(Overrides ControlBackgroundImage)
Public propertyBackgroundImageLayoutGets or sets the layout for background image.
(Overrides ControlBackgroundImageLayout)
Public propertyBorderStyleGets or sets the border style of the toolbar control.
Public propertyButtonsGets the collection of Win32ToolBarButton controls assigned to the toolbar control.
Public propertyButtonSizeGets or sets the size of the buttons on the toolbar control.
Protected propertyCreateParamsGets the required creation parameters when the control handle is created.
(Overrides ControlCreateParams)
Protected propertyDefaultImeModeGets the default Input Method Editor (IME) mode supported by this control.
(Overrides ControlDefaultImeMode)
Protected propertyDefaultSizeGets the default size of the control.
(Overrides ControlDefaultSize)
Public propertyDividerGets or sets a value indicating whether the toolbar displays a divider.
Public propertyDockGets or sets which control borders are docked to its parent control and determines how a control is resized with its parent.
(Overrides ControlDock)
Protected propertyDoubleBufferedThis member is not meaningful for this control.
(Overrides ControlDoubleBuffered)
Public propertyDropDownArrowsGets or sets a value indicating whether drop-down buttons on a toolbar display down arrows.
Public propertyForeColorGets or sets the forecolor .
(Overrides ControlForeColor)
Public propertyImageListGets or sets the collection of images available to the toolbar button controls.
Public propertyImageSizeGets the size of the images in the image list assigned to the toolbar.
Public propertyImeModeThis member is not meaningful for this control.
Public propertyRightToLeftThis member is not meaningful for this control.
(Overrides ControlRightToLeft)
Public propertyShowToolTipsGets or sets a value indicating whether the toolbar displays a ToolTip for each button.
Public propertyTabStopThis property is not meaningful for this control.
Public propertyTextGets or sets the text for the toolbar.
(Overrides ControlText)
Public propertyTextAlignGets or sets the alignment of text in relation to each image displayed on the toolbar button controls.
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.
Top
Methods
 NameDescription
Protected methodCreateHandleCreates a handle for the control.
(Overrides ControlCreateHandle)
Protected methodDisposeReleases the unmanaged resources used by the Win32ToolBar and optionally releases the managed resources.
(Overrides ControlDispose(Boolean))
Protected methodOnButtonClickRaises the ButtonClick event.
Protected methodOnButtonDropDownRaises the ButtonDropDown event.
Protected methodOnFontChangedRaises the FontChanged event.
(Overrides ControlOnFontChanged(EventArgs))
Protected methodOnHandleCreatedRaises the HandleCreated event.
(Overrides ControlOnHandleCreated(EventArgs))
Protected methodOnResizeRaises the Resize event.
(Overrides ControlOnResize(EventArgs))
Protected methodScaleControlScales a control's location, size, padding and margin.
(Overrides ControlScaleControl(SizeF, BoundsSpecified))
Protected methodScaleCoreThis method is not relevant for this class.
(Overrides Control.ScaleCore(Single, Single))
Protected methodSetBoundsCoreSets the specified bounds of the Win32ToolBar control.
(Overrides ControlSetBoundsCore(Int32, Int32, Int32, Int32, BoundsSpecified))
Protected methodShouldSerializeButtonSizeDetermine if we should serialize the ButtonSize property.
Public methodToStringReturns a string that represents the control.
(Overrides ComponentToString)
Protected methodWndProcProcesses Windows messages.
(Overrides ControlWndProc(Message))
Top
Events
 NameDescription
Public eventAutoSizeChangedOccurs when the value of the AutoSize property has changed.
Public eventBackColorChangedOccurs when the BackColor property changes.
Public eventBackgroundImageChangedOccurs when the BackgroundImage property changes.
Public eventBackgroundImageLayoutChangedOccurs when the BackgroundImageLayout property changes.
Public eventButtonClickOccurs when a Win32ToolBarButton on the Win32ToolBar is clicked.
Public eventButtonDropDownOccurs when a drop-down style Win32ToolBarButton or its down arrow is clicked.
Public eventForeColorChangedOccurs when the ForeColor property changes.
Public eventImeModeChangedOccurs when the ImeMode property changes.
Public eventPaintThis member is not meaningful for this control.
Public eventRightToLeftChangedOccurs when the RightToLeft property changes.
Public eventTextChangedOccurs when the Text property changes.
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