CustomToolBar Methods |
The CustomToolBar type exposes the following members.
Name | Description | |
---|---|---|
CreateHandle | Creates a handle for the control. (Inherited from Win32ToolBar.) | |
Dispose | Releases the unmanaged resources used by the Win32ToolBar and optionally releases the managed resources. (Inherited from Win32ToolBar.) | |
IndexOf |
Retrieves the zero-based index for the button associated with the specified command identifier.
| |
OnButtonClick | Raises the ButtonClick event. (Inherited from Win32ToolBar.) | |
OnButtonDropDown | Raises the ButtonDropDown event. (Inherited from Win32ToolBar.) | |
OnCustomDraw |
Provides support for custom drawing.
| |
OnCustomDrawButton |
Provides support for button custom drawing.
| |
OnFontChanged | Raises the FontChanged event. (Inherited from Win32ToolBar.) | |
OnHandleCreated |
Raises the HandleCreated event.
(Overrides Win32ToolBarOnHandleCreated(EventArgs).) | |
OnResize | Raises the Resize event. (Inherited from Win32ToolBar.) | |
ScaleControl | Scales a control's location, size, padding and margin. (Inherited from Win32ToolBar.) | |
ScaleCore | This method is not relevant for this class. (Inherited from Win32ToolBar.) | |
SetBoundsCore | Sets the specified bounds of the Win32ToolBar control. (Inherited from Win32ToolBar.) | |
SetIndent | Sets the indentation for the first button. | |
ShouldSerializeButtonSize | Determine if we should serialize the ButtonSize property. (Inherited from Win32ToolBar.) | |
ToString | Returns a string that represents the control. (Inherited from Win32ToolBar.) | |
WmNotify |
Processes WM_NOTIFY messages.
| |
WndProc |
Processes Windows messages.
(Overrides Win32ToolBarWndProc(Message).) |
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.) |