[]
Control tool that represents a button that performs an action.
[TemplatePart(Name = "Button", Type = typeof(Button))]
public class C1ButtonTool : C1Tool, ICommandSource
| Name | Description |
|---|---|
| C1ButtonTool() | Initializes a new instance of the C1ButtonTool class. |
| Name | Description |
|---|---|
| CommandParameterProperty | Identifies the CommandParameter dependency property. |
| CommandProperty | Identifies the Command dependency property. |
| CommandTargetProperty | Identifies the CommandTarget 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. |
| Name | Description |
|---|---|
| Dispose(bool) | |
| Execute(object) | Called when the tool is executed. |
| OnApplyTemplate() | |
| OnClick() |
| Name | Description |
|---|---|
| Click | Occurs when the tool is clicked, either through the menu or the control itself. |