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

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

The Win32ToolBar type exposes the following members.

Constructors
  NameDescription
Public methodWin32ToolBar
Initializes a new instance.
Top
Properties
  NameDescription
Public propertyAppearance
Gets or set the value that determines the appearance of a toolbar control and its buttons.
Public propertyAutoSize
Gets 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 propertyBackColor
Gets or sets the background color.
(Overrides ControlBackColor.)
Public propertyBackgroundImage
Gets or sets the background image.
(Overrides ControlBackgroundImage.)
Public propertyBackgroundImageLayout
Gets or sets the layout for background image.
(Overrides ControlBackgroundImageLayout.)
Public propertyBorderStyle
Gets or sets the border style of the toolbar control.
Public propertyButtons
Gets the collection of Win32ToolBarButton controls assigned to the toolbar control.
Public propertyButtonSize
Gets or sets the size of the buttons on the toolbar control.
Protected propertyCreateParams
Gets the required creation parameters when the control handle is created.
(Overrides ControlCreateParams.)
Protected propertyDefaultImeMode
Gets the default Input Method Editor (IME) mode supported by this control.
(Overrides ControlDefaultImeMode.)
Protected propertyDefaultSize
Gets the default size of the control.
(Overrides ControlDefaultSize.)
Public propertyDivider
Gets or sets a value indicating whether the toolbar displays a divider.
Public propertyDock
Gets or sets which control borders are docked to its parent control and determines how a control is resized with its parent.
(Overrides ControlDock.)
Protected propertyDoubleBuffered
This member is not meaningful for this control.
(Overrides ControlDoubleBuffered.)
Public propertyDropDownArrows
Gets or sets a value indicating whether drop-down buttons on a toolbar display down arrows.
Public propertyForeColor
Gets or sets the forecolor .
(Overrides ControlForeColor.)
Public propertyImageList
Gets or sets the collection of images available to the toolbar button controls.
Public propertyImageSize
Gets the size of the images in the image list assigned to the toolbar.
Public propertyImeMode
This member is not meaningful for this control.
Public propertyRightToLeft
This member is not meaningful for this control.
(Overrides ControlRightToLeft.)
Public propertyShowToolTips
Gets or sets a value indicating whether the toolbar displays a ToolTip for each button.
Public propertyTabStop
This property is not meaningful for this control.
Public propertyText
Gets or sets the text for the toolbar.
(Overrides ControlText.)
Public propertyTextAlign
Gets or sets the alignment of text in relation to each image displayed on the toolbar button controls.
Public propertyWrappable
Gets 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 methodCreateHandle
Creates a handle for the control.
(Overrides ControlCreateHandle.)
Protected methodDispose
Releases the unmanaged resources used by the Win32ToolBar and optionally releases the managed resources.
(Overrides ControlDispose(Boolean).)
Protected methodOnButtonClick
Raises the ButtonClick event.
Protected methodOnButtonDropDown
Raises the ButtonDropDown event.
Protected methodOnFontChanged
Raises the FontChanged event.
(Overrides ControlOnFontChanged(EventArgs).)
Protected methodOnHandleCreated
Raises the HandleCreated event.
(Overrides ControlOnHandleCreated(EventArgs).)
Protected methodOnResize
Raises the Resize event.
(Overrides ControlOnResize(EventArgs).)
Protected methodScaleControl
Scales a control's location, size, padding and margin.
(Overrides ControlScaleControl(SizeF, BoundsSpecified).)
Protected methodScaleCore
This method is not relevant for this class.
(Overrides Control.ScaleCore(Single, Single).)
Protected methodSetBoundsCore
Sets the specified bounds of the Win32ToolBar control.
(Overrides ControlSetBoundsCore(Int32, Int32, Int32, Int32, BoundsSpecified).)
Protected methodShouldSerializeButtonSize
Determine if we should serialize the ButtonSize property.
Public methodToString
Returns a string that represents the control.
(Overrides ComponentToString.)
Protected methodWndProc
Processes Windows messages.
(Overrides ControlWndProc(Message).)
Top
Events
  NameDescription
Public eventAutoSizeChanged
Occurs when the value of the AutoSize property has changed.
Public eventBackColorChanged
Occurs when the BackColor property changes.
Public eventBackgroundImageChanged
Occurs when the BackgroundImage property changes.
Public eventBackgroundImageLayoutChanged
Occurs when the BackgroundImageLayout property changes.
Public eventButtonClick
Occurs when a Win32ToolBarButton on the Win32ToolBar is clicked.
Public eventButtonDropDown
Occurs when a drop-down style Win32ToolBarButton or its down arrow is clicked.
Public eventForeColorChanged
Occurs when the ForeColor property changes.
Public eventImeModeChanged
Occurs when the ImeMode property changes.
Public eventPaint
This member is not meaningful for this control.
Public eventRightToLeftChanged
Occurs when the RightToLeft property changes.
Public eventTextChanged
Occurs when the Text property changes.
Top
Extension Methods
  NameDescription
Public Extension MethodHandleNeeded
A Control extension method that ensures that the handle for a control is created.
(Defined by ExtensionMethods.)
Public Extension MethodScaledPixels
An extension method for controls: It scales the passed pixels according to the current dpi the control is displayed with.
(Defined by ExtensionMethods.)
Public Extension MethodScaleFont
A Control extension method that scales font according to the passed factor.
(Defined by ExtensionMethods.)
Top
See Also