Win32ToolBar Class |
Namespace: Jam.Shell
The Win32ToolBar type exposes the following members.
Name | Description | |
---|---|---|
Win32ToolBar | Initializes a new instance. |
Name | Description | |
---|---|---|
Appearance | Gets or set the value that determines the appearance of a toolbar control and its buttons. | |
AutoSize | 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.) | |
BackColor | Gets or sets the background color. (Overrides ControlBackColor.) | |
BackgroundImage | Gets or sets the background image. (Overrides ControlBackgroundImage.) | |
BackgroundImageLayout | Gets or sets the layout for background image. (Overrides ControlBackgroundImageLayout.) | |
BorderStyle | Gets or sets the border style of the toolbar control. | |
Buttons | Gets the collection of Win32ToolBarButton controls assigned to the toolbar control. | |
ButtonSize | Gets or sets the size of the buttons on the toolbar control. | |
CreateParams | Gets the required creation parameters when the control handle is created. (Overrides ControlCreateParams.) | |
DefaultImeMode | Gets the default Input Method Editor (IME) mode supported by this control. (Overrides ControlDefaultImeMode.) | |
DefaultSize | Gets the default size of the control. (Overrides ControlDefaultSize.) | |
Divider | Gets or sets a value indicating whether the toolbar displays a divider. | |
Dock | Gets or sets which control borders are docked to its parent control and determines how a control is resized with its parent. (Overrides ControlDock.) | |
DoubleBuffered | This member is not meaningful for this control. (Overrides ControlDoubleBuffered.) | |
DropDownArrows | Gets or sets a value indicating whether drop-down buttons on a toolbar display down arrows. | |
ForeColor | Gets or sets the forecolor . (Overrides ControlForeColor.) | |
ImageList | Gets or sets the collection of images available to the toolbar button controls. | |
ImageSize | Gets the size of the images in the image list assigned to the toolbar. | |
ImeMode | This member is not meaningful for this control. | |
RightToLeft | This member is not meaningful for this control. (Overrides ControlRightToLeft.) | |
ShowToolTips | Gets or sets a value indicating whether the toolbar displays a ToolTip for each button. | |
TabStop | This property is not meaningful for this control. | |
Text | Gets or sets the text for the toolbar. (Overrides ControlText.) | |
TextAlign | Gets or sets the alignment of text in relation to each image displayed on the toolbar button controls. | |
Wrappable | 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. |
Name | Description | |
---|---|---|
CreateHandle | Creates a handle for the control. (Overrides ControlCreateHandle.) | |
Dispose | Releases the unmanaged resources used by the Win32ToolBar and optionally releases the managed resources. (Overrides ControlDispose(Boolean).) | |
OnButtonClick | Raises the ButtonClick event. | |
OnButtonDropDown | Raises the ButtonDropDown event. | |
OnFontChanged | Raises the FontChanged event. (Overrides ControlOnFontChanged(EventArgs).) | |
OnHandleCreated | Raises the HandleCreated event. (Overrides ControlOnHandleCreated(EventArgs).) | |
OnResize | Raises the Resize event. (Overrides ControlOnResize(EventArgs).) | |
ScaleControl | Scales a control's location, size, padding and margin. (Overrides ControlScaleControl(SizeF, BoundsSpecified).) | |
ScaleCore | This method is not relevant for this class. (Overrides Control.ScaleCore(Single, Single).) | |
SetBoundsCore | Sets the specified bounds of the Win32ToolBar control. (Overrides ControlSetBoundsCore(Int32, Int32, Int32, Int32, BoundsSpecified).) | |
ShouldSerializeButtonSize | Determine if we should serialize the ButtonSize property. | |
ToString | Returns a string that represents the control. (Overrides ComponentToString.) | |
WndProc | Processes Windows messages. (Overrides ControlWndProc(Message).) |
Name | Description | |
---|---|---|
AutoSizeChanged | Occurs when the value of the AutoSize property has changed. | |
BackColorChanged | Occurs when the BackColor property changes. | |
BackgroundImageChanged | Occurs when the BackgroundImage property changes. | |
BackgroundImageLayoutChanged | Occurs when the BackgroundImageLayout property changes. | |
ButtonClick | Occurs when a Win32ToolBarButton on the Win32ToolBar is clicked. | |
ButtonDropDown | Occurs when a drop-down style Win32ToolBarButton or its down arrow is clicked. | |
ForeColorChanged | Occurs when the ForeColor property changes. | |
ImeModeChanged | Occurs when the ImeMode property changes. | |
Paint | This member is not meaningful for this control. | |
RightToLeftChanged | Occurs when the RightToLeft property changes. | |
TextChanged | Occurs when the Text property changes. |
Name | Description | |
---|---|---|
HandleNeeded | A Control extension method that ensures that the handle for a control is created. (Defined by ExtensionMethods.) | |
ScaledPixels | An extension method for controls: It scales the passed pixels according to the current dpi the control is displayed with. (Defined by ExtensionMethods.) | |
ScaleFont | A Control extension method that scales font according to the passed factor. (Defined by ExtensionMethods.) |