Click or drag to resize

CustomToolBar Methods

The CustomToolBar type exposes the following members.

Methods
 NameDescription
Protected methodCreateHandleCreates a handle for the control.
(Inherited from Win32ToolBar)
Protected methodDisposeReleases 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 methodOnButtonClickRaises the ButtonClick event.
(Inherited from Win32ToolBar)
Protected methodOnButtonDropDownRaises the ButtonDropDown event.
(Inherited from Win32ToolBar)
Protected methodOnCustomDraw Provides support for custom drawing.
Protected methodOnCustomDrawButton Provides support for button custom drawing.
Protected methodOnFontChangedRaises the FontChanged event.
(Inherited from Win32ToolBar)
Protected methodOnHandleCreated Raises the HandleCreated event.
(Overrides Win32ToolBarOnHandleCreated(EventArgs))
Protected methodOnResizeRaises the Resize event.
(Inherited from Win32ToolBar)
Protected methodScaleControlScales a control's location, size, padding and margin.
(Inherited from Win32ToolBar)
Protected methodScaleCoreThis method is not relevant for this class.
(Inherited from Win32ToolBar)
Protected methodSetBoundsCoreSets the specified bounds of the Win32ToolBar control.
(Inherited from Win32ToolBar)
Public methodSetIndentSets the indentation for the first button.
Protected methodShouldSerializeButtonSizeDetermine if we should serialize the ButtonSize property.
(Inherited from Win32ToolBar)
Public methodToStringReturns 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 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