Version

CommandWrapper Class Members

The following tables list the members exposed by CommandWrapper.

Public Constructors
 NameDescription
Public ConstructorCommandWrapper ConstructorOverloaded.   
Public Properties
 NameDescription
Public PropertyCommandThe RoutedCommand or RoutedCommand derived class (e.g., RoutedUICommand) being wrapped by the CommandWrapper.  
Public PropertyHasInputGesturesIndicates if the InputGestures for the class has been allocated and has gestures in it.  
Public PropertyInputGesturesA collection of InputGestures associated with the command being wrapped.  
Public PropertyIsEnabledReturns/sets whether the command is enabled. If set to false, the wrapped command cannot be executed.  
Public PropertyModifierKeysDisallowedReturns 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.  
Public PropertyStateDisallowedReturns 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.  
Public PropertyStateRequiredReturns the required state. These are bit flags that specify the state that the control MUST be in for this command to be executed.  
See Also