Click or drag to resize

CustomToolBar Methods

The CustomToolBar type exposes the following members.

Methods
  NameDescription
Protected methodCreateHandle
Creates a handle for the control.
(Inherited from Win32ToolBar.)
Protected methodDispose
Releases 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 methodOnButtonClick
Raises the ButtonClick event.
(Inherited from Win32ToolBar.)
Protected methodOnButtonDropDown
Raises the ButtonDropDown event.
(Inherited from Win32ToolBar.)
Protected methodOnCustomDraw
Provides support for custom drawing.
Protected methodOnCustomDrawButton
Provides support for button custom drawing.
Protected methodOnFontChanged
Raises the FontChanged event.
(Inherited from Win32ToolBar.)
Protected methodOnHandleCreated
Raises the HandleCreated event.
(Overrides Win32ToolBarOnHandleCreated(EventArgs).)
Protected methodOnResize
Raises the Resize event.
(Inherited from Win32ToolBar.)
Protected methodScaleControl
Scales a control's location, size, padding and margin.
(Inherited from Win32ToolBar.)
Protected methodScaleCore
This method is not relevant for this class.
(Inherited from Win32ToolBar.)
Protected methodSetBoundsCore
Sets the specified bounds of the Win32ToolBar control.
(Inherited from Win32ToolBar.)
Public methodSetIndent
Sets the indentation for the first button.
Protected methodShouldSerializeButtonSize
Determine if we should serialize the ButtonSize property.
(Inherited from Win32ToolBar.)
Public methodToString
Returns a string that represents the control.
(Inherited from Win32ToolBar.)
Protected methodWmNotify
Processes WM_NOTIFY messages.
Protected methodWndProc
Processes Windows messages.
(Overrides Win32ToolBarWndProc(Message).)
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