CommandItem Members
A command that the CompositeCommandBehavior aggregates to create a composite command.Constructors
| Name | Description |
|---|---|
| CommandItem() | Initializes a new instance of the CommandItem class. |
Fields
| Name | Description |
|---|---|
| CanExecuteProperty static | Identifies the CommandItem.CanExecute dependency property. |
| CheckCanExecuteProperty static | Identifies the CommandItem.CheckCanExecute dependency property. |
| CommandParameterProperty static | Identifies the CommandItem.CommandParameter dependency property. |
| CommandProperty static | Identifies the CommandItem.Command dependency property. |
Properties
| Name | Description |
|---|---|
| CanExecute | Gets whether a command is executable. This is a dependency property. |
| CheckCanExecute | Gets or sets whether the command item‘s CanExecute state should be checked before the command is executed. This is a dependency property. |
| Command | Gets or sets the command to execute. This is a dependency property. |
| CommandParameter | Gets or sets the command parameter. This is a dependency property. |
Methods
| Name | Description |
|---|---|
| ExecuteCommand() | Executes the command assigned to the Command property. |
See Also