Toolbar Elements / Toolbar Button
Toolbar Button

The C1ToolBarButton object defines a toolbar button. A button can include text, image, or text and an image. Set text with the C1ToolBarButton.LabelTitle property, and an image with the LargeImageSource or SmallImageSource property for each C1ToolBarButton object.

The buttons can be added at design time using the C1ToolbarItems collection editor, programmatically using C1ToolBarItemCollection.Add or C1ToolBarItemCollection.Remove methods from the C1ToolBarItemCollection collection, or through XAML code.

The C1ToolBarButton includes the following unique properties:

 

Property

Definition

LabelTitle

Gets or sets the label title of control.

LargeImageSource

Gets or sets the large image source of the control.

MouseOverBrush

Gets or sets the Brush used to highlight the control when it has the mouse over

PressedBrush

Gets or sets the Brush used to paint a button when it is pressed.

SmallImageSource

Gets or sets the large image source of the control.