Click or drag to resize

CustomToolBar Class

Customized Win32ToolBar.
Inheritance Hierarchy

Namespace:  Jam.Shell
Assembly:  ShellBrowser.Winforms (in ShellBrowser.Winforms.dll) Version: 6.3.1
Syntax
public class CustomToolBar : Win32ToolBar

The CustomToolBar type exposes the following members.

Constructors
  NameDescription
Public methodCustomToolBar
Initializes a new instance of the CustomToolBar class
Top
Properties
  NameDescription
Public propertyAppearance
Gets or set the value that determines the appearance of a toolbar control and its buttons.
(Inherited from Win32ToolBar.)
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.
(Inherited from Win32ToolBar.)
Public propertyBackColor
Gets or sets the background color.
(Inherited from Win32ToolBar.)
Public propertyBackgroundImage
Gets or sets the background image.
(Inherited from Win32ToolBar.)
Public propertyBackgroundImageLayout
Gets or sets the layout for background image.
(Inherited from Win32ToolBar.)
Public propertyBorderStyle
Gets or sets the border style of the toolbar control.
(Inherited from Win32ToolBar.)
Public propertyButtonHeight
Gets or sets the height of the buttons.
Public propertyButtons
Gets the collection of Win32ToolBarButton controls assigned to the toolbar control.
(Inherited from Win32ToolBar.)
Public propertyButtonSize
Gets or sets the size of the buttons on the toolbar control.
(Inherited from Win32ToolBar.)
Protected propertyCreateParams
Gets the required creation parameters when the control handle is created.
(Overrides Win32ToolBarCreateParams.)
Protected propertyDefaultImeMode
Gets the default Input Method Editor (IME) mode supported by this control.
(Inherited from Win32ToolBar.)
Protected propertyDefaultSize
Gets the default size of the control.
(Inherited from Win32ToolBar.)
Public propertyDivider
Gets or sets a value indicating whether the toolbar displays a divider.
(Inherited from Win32ToolBar.)
Public propertyDock
Gets or sets which control borders are docked to its parent control and determines how a control is resized with its parent.
(Inherited from Win32ToolBar.)
Protected propertyDoubleBuffered
This member is not meaningful for this control.
(Overrides Win32ToolBarDoubleBuffered.)
Public propertyDropDownArrows
Gets or sets a value indicating whether drop-down buttons on a toolbar display down arrows.
(Inherited from Win32ToolBar.)
Public propertyForeColor
Gets or sets the forecolor .
(Inherited from Win32ToolBar.)
Public propertyHideClippedButtons
Determines if partial clipped buttons should be hidden or shown.
Public propertyImageList
Gets or sets the collection of images available to the toolbar button controls.
(Inherited from Win32ToolBar.)
Public propertyImageSize
Gets the size of the images in the image list assigned to the toolbar.
(Inherited from Win32ToolBar.)
Public propertyImeMode
This member is not meaningful for this control.
(Inherited from Win32ToolBar.)
Public propertyOwnerDraw
Determines if control supports owner-drawing.
Public propertyPadding
Gets or sets the padding.
Public propertyRightToLeft
This member is not meaningful for this control.
(Inherited from Win32ToolBar.)
Public propertyShowToolTips
Gets or sets a value indicating whether the toolbar displays a ToolTip for each button.
(Inherited from Win32ToolBar.)
Public propertyTabStop
This property is not meaningful for this control.
(Inherited from Win32ToolBar.)
Public propertyText
Gets or sets the text for the toolbar.
(Inherited from Win32ToolBar.)
Public propertyTextAlign
Gets or sets the alignment of text in relation to each image displayed on the toolbar button controls.
(Inherited from Win32ToolBar.)
Public propertyVersion
The current version of the ShellBrowser components.
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.
(Inherited from Win32ToolBar.)
Top
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
Events
  NameDescription
Public eventAutoSizeChanged
Occurs when the value of the AutoSize property has changed.
(Inherited from Win32ToolBar.)
Public eventBackColorChanged
Occurs when the BackColor property changes.
(Inherited from Win32ToolBar.)
Public eventBackgroundImageChanged
Occurs when the BackgroundImage property changes.
(Inherited from Win32ToolBar.)
Public eventBackgroundImageLayoutChanged
Occurs when the BackgroundImageLayout property changes.
(Inherited from Win32ToolBar.)
Public eventButtonClick
Occurs when a Win32ToolBarButton on the Win32ToolBar is clicked.
(Inherited from Win32ToolBar.)
Public eventButtonDropDown
Occurs when a drop-down style Win32ToolBarButton or its down arrow is clicked.
(Inherited from Win32ToolBar.)
Public eventDrawButton
Occurs if a button is drawn and OwnerDraw is set to true.
Public eventForeColorChanged
Occurs when the ForeColor property changes.
(Inherited from Win32ToolBar.)
Public eventImeModeChanged
Occurs when the ImeMode property changes.
(Inherited from Win32ToolBar.)
Public eventPaint
This member is not meaningful for this control.
(Inherited from Win32ToolBar.)
Public eventRightToLeftChanged
Occurs when the RightToLeft property changes.
(Inherited from Win32ToolBar.)
Public eventTextChanged
Occurs when the Text property changes.
(Inherited from Win32ToolBar.)
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