[]
C1Icon for toggle buttons
[TemplatePart(Name = "BackgroundElement", Type = typeof(Border))]
[TemplatePart(Name = "MouseOverElement", Type = typeof(Border))]
[TemplatePart(Name = "PressedElement", Type = typeof(Border))]
[TemplatePart(Name = "LargeView", Type = typeof(StackPanel))]
[TemplatePart(Name = "MediumView", Type = typeof(StackPanel))]
[TemplatePart(Name = "SmallView", Type = typeof(StackPanel))]
[TemplatePart(Name = "ContentPresenter", Type = typeof(ContentControl))]
[TemplatePart(Name = "LargeContentPresenter", Type = typeof(ContentControl))]
[TemplatePart(Name = "MediumContentPresenter", Type = typeof(ContentControl))]
[TemplatePart(Name = "SmallContentPresenter", Type = typeof(ContentControl))]
[TemplatePart(Name = "LargeIconContainer", Type = typeof(ContentControl))]
[TemplatePart(Name = "MediumIconContainer", Type = typeof(ContentControl))]
[TemplatePart(Name = "SmallIconContainer", Type = typeof(ContentControl))]
public class C1ToolbarToggleItem : ToggleButton, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IAddChild, ICommandSource
| Name | Description |
|---|---|
| C1ToolbarToggleItem() | Initializes a new instance of a C1ToolbarToggleItem. |
| Name | Description |
|---|---|
| ActualForegroundProperty | The ActualHeight dynamic property. |
| GroupNameProperty | Identifies the GroupName dependency property. |
| LargeContentProperty | Identifies the LargeContent dependency property. |
| LargeContentTemplateProperty | Identifies the LargeContentTemplate dependency property. |
| LargeIconProperty | Identifies the LargeIcon dependency property. |
| MediumContentProperty | Identifies the MediumContent dependency property. |
| MediumContentTemplateProperty | Identifies the MediumContentTemplate dependency property. |
| MediumIconProperty | Identifies the MediumIcon dependency property. |
| MouseOverBrushProperty | Identifies the MouseOverBrush dependency property. |
| MouseOverForegroundBrushProperty | Identifies the MouseOverForegroundBrush dependency property. |
| PressedBrushProperty | Identifies the PressedBrush dependency property. |
| PressedForegroundBrushProperty | Identifies the PressedForegroundBrush dependency property. |
| SmallContentProperty | Identifies the SmallContent dependency property. |
| SmallContentTemplateProperty | Identifies the SmallContentTemplate dependency property. |
| SmallIconProperty | Identifies the SmallIcon dependency property. |
| Name | Description |
|---|---|
| ActualForeground | The ActualForeground CLR property - wrapper for ActualForegroundProperty. |
| GroupName | Gets or sets the name that specifies which C1ToolbarToggleItem controls are mutually exclusive. |
| LargeContent | Content for large state |
| LargeContentTemplate | Content template for large state |
| LargeIcon | |
| MediumContent | Content for medium state |
| MediumContentTemplate | Content template for medium state |
| MediumIcon | |
| MouseOverBrush | Mouseover background color |
| MouseOverForegroundBrush | Mouseover foreground color |
| PressedBrush | Pressed background color |
| PressedForegroundBrush | Pressed foreground color |
| SmallContent | Content for small state |
| SmallContentTemplate | Content template for small state |
| SmallIcon |
| Name | Description |
|---|---|
| MeasureOverride(Size) | Called when measuring a control. |
| OnAfterApplyTemplate() | Invoked during a call of ApplyTemplate() method. |
| OnApplyTemplate() | Builds the visual tree for the C1ToolbarToggleItem control when a new template is applied. |
| OnChecked(RoutedEventArgs) | Called when button is checked. |
| OnMouseEnter(MouseEventArgs) | |
| OnMouseLeave(MouseEventArgs) | |
| OnMouseLeftButtonDown(MouseButtonEventArgs) | |
| OnMouseLeftButtonUp(MouseButtonEventArgs) | |
| OnPropertyChanged(DependencyPropertyChangedEventArgs) | |
| OnToggle() | Called when toggling button state. |