Skip to main content
Version: 3.5

ToolBar

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.5.0.0)

Represents a toolbar component.

public class ToolBar : Control, IWisejDesignTarget

Constructors

Instance memberToolBar()

Initializes a new instance of the ToolBar class.

Properties

Instance memberAutoOverflow

Boolean: Enables the overflow handling which automatically removes items that don't fit in the ToolBar and adds them to a drop-down menu button. (Default: True)

Instance memberAutoSize

Boolean: Returns or sets whether the toolbar adjusts its size automatically, based on the size of the buttons and the dock style. (Default: True)

Instance memberBorderStyle

BorderStyle: Returns or sets the border style of the toolbar control. (Default: None)

Instance memberButtonCount

Int32: Returns the number of child buttons without forcing the creation of the collection.

Instance memberButtons

ToolBarButtonCollection: Returns the collection of ToolBarButton controls assigned to the toolbar control.

Instance memberCausesValidation

Boolean: Returns or sets whether clicking ToolBar buttons causes validation to be performed on the active control. (Default: False)

Instance memberDock

DockStyle: (Default: Top)

Instance memberImageList

ImageList: Returns or sets the collection of images available to the toolbar button controls. (Default: null)

Instance memberShowToolTips

Boolean: Returns or sets whether the toolbar displays a ToolTip for each button. (Default: True)

Instance memberTextAlign

ToolBarTextAlign: Returns or sets the alignment of text in relation to each image displayed on the toolbar button controls. (Default: Underneath)

Events

Instance memberAutoSizeChanged

EventHandler Fired when the value of the AutoSize property has changed.

Instance memberButtonClick

ToolBarButtonClickEventHandler Fired when a ToolBarButton on the ToolBar is clicked.

Instance memberButtonDropDown

ToolBarButtonClickEventHandler Fired when a drop-down style ToolBarButton or its down arrow is clicked.

Implements

NameDescription
IBindableComponentBindable components implement this interface.
IDropTargetControls that support drag & drop operations implement this interface.
IWisejComponentAll wisej components implement this interface.
IWisejControlAll wisej controls derived from the Control class must implement this interface.
IWisejSerializableAllows an object to serialize itself.