[]
        
(Showing Draft Content)

C1.WPF.Toolbar.C1ToolbarToggleButton

C1ToolbarToggleButton Class

C1ToolbarButton control represents a toggle button on the C1ToobarStrip.

Namespace: C1.WPF.Toolbar
Assembly: C1.WPF.Toolbar.4.6.2.dll
Syntax
public class C1ToolbarToggleButton : ToggleButton, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IAddChild, ICommandSource

Constructors

Name Description
C1ToolbarToggleButton()

Initializes a new instance of a C1ToolbarToggleButton.

Fields

Name Description
GroupNameProperty

Identifies the GroupName dependency property.

LabelTitleProperty

Using a DependencyProperty as the backing store for LabelTitle.
This enables animation, styling, binding, etc...

LargeImageSourceProperty

Using a DependencyProperty as the backing store for LargeImageSource. This enables animation, styling, binding, etc...

MouseOverBrushProperty

Identifies the MouseOverBrush dependency property.

PressedBrushProperty

Identifies the PressedBrush dependency property.

SmallImageSourceProperty

Using a DependencyProperty as the backing store for SmallImageSource.
This enables animation, styling, binding, etc...

Properties

Name Description
GroupName

Gets or sets the name that specifies which C1ToolbarToggleButton controls are mutually exclusive.

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 small image source of the control.

Methods

Name Description
MeasureOverride(Size)

Called when measuring a control.

OnApplyTemplate()

Invoked during a call of ApplyTemplate() method.

OnChecked(RoutedEventArgs)

Called when button is checked.

OnToggle()

Called when toggling button state.