[]
Control that represents a toggle button.
[TemplatePart(Name = "Button", Type = typeof(C1ToggleButton))]
public class C1ToggleButtonTool : C1Tool, ICommandSource
| Name | Description |
|---|---|
| C1ToggleButtonTool() | Initializes a new instance of the C1ToggleButtonTool class. |
| Name | Description |
|---|---|
| CommandParameterProperty | Identifies the CommandParameter dependency property. |
| CommandProperty | Identifies the Command dependency property. |
| CommandTargetProperty | Identifies the CommandTarget dependency property. |
| IsCheckedProperty | Identifies the IsChecked dependency property. |
| Name | Description |
|---|---|
| Command | Gets or sets the command that can be bound to the tool. |
| CommandParameter | Gets or sets command parameter. |
| CommandTarget | Gets or sets command target. |
| IsChecked | Gets or sets whether the button is checked. |
| Name | Description |
|---|---|
| Dispose(bool) | |
| Execute(object) | Called when the tool is executed. |
| OnApplyTemplate() | |
| OnClick() |
| Name | Description |
|---|---|
| Checked | Occurs when a System.Windows.Controls.Primitives.ToggleButton is checked. |
| Click | Occurs when the tool is clicked, either through the menu or the control itself. |
| Unchecked | Occurs when a System.Windows.Controls.Primitives.ToggleButton is unchecked. |