[]
Control that represents a toggle button.
public class C1ToggleButtonTool : C1Tool, IHandleAfterRender, IDependencyObject, IHandleEvent, IDisposable, IComponent
Public Class C1ToggleButtonTool
Inherits C1Tool
Implements IHandleAfterRender, IDependencyObject, IHandleEvent, IDisposable, IComponent
| Name | Description |
|---|---|
| C1ToggleButtonTool() | Initializes a new instance of the C1ToggleButtonTool class. |
| Name | Description |
|---|---|
| IsCheckedProperty | Identifies the IsChecked dependency property. |
| Name | Description |
|---|---|
| IsChecked | Gets or sets whether the button is checked. |
| IsCheckedChanged | Gets or sets the callback called when the IsChecked property has changed. |
| Name | Description |
|---|---|
| Dispose(bool) | |
| Execute(object) | Called when the tool is executed. |
| GetContentRenderFragment(C1Style) | Returns a RenderFragment that represents the tool's UI content. |
| OnAfterRender(bool) | |
| 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. |