The following tables list the members exposed by CommandWrapper.
Name | Description | |
---|---|---|
CommandWrapper Constructor | Overloaded. |
Name | Description | |
---|---|---|
Command | The RoutedCommand or RoutedCommand derived class (e.g., RoutedUICommand) being wrapped by the CommandWrapper. | |
HasInputGestures | Indicates if the InputGestures for the class has been allocated and has gestures in it. | |
InputGestures | A collection of InputGestures associated with the command being wrapped. | |
IsEnabled | Returns/sets whether the command is enabled. If set to false, the wrapped command cannot be executed. | |
ModifierKeysDisallowed | Returns the disallowed state. These are bit flags that specify the state that the control MUST NOT be in for this command to be executed. If the current state of the control has any of these bits turned on this command will be ignored. | |
StateDisallowed | Returns the disallowed state. These are bit flags that specify the state that the control MUST NOT be in for this command to be executed. If the current state of the control has any of these bits turned on this command will be ignored. | |
StateRequired | Returns the required state. These are bit flags that specify the state that the control MUST be in for this command to be executed. |