CommandManager Methods

The CommandManager type exposes the following members.

  Name Description
Public method Static member AddCanExecuteHandler Attaches the specified CanExecuteRoutedEventHandler to the specified element.
Public method Static member AddExecutedHandler Attaches the specified ExecutedRoutedEventHandler to the specified element.
Public method Static member AddPreviewCanExecuteHandler Attaches the specified CanExecuteRoutedEventHandler to the specified element.
Public method Static member AddPreviewExecutedHandler Attaches the specified ExecutedRoutedEventHandler to the specified element.
Public method Equals(Object) Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method Static member InvalidateRequerySuggested Forces the CommandManager to raise the RequerySuggested event.
Public method Static member RegisterClassCommandBinding Registers a CommandBinding with the specified type.
Public method Static member RegisterClassInputBinding Registers the specified InputBinding with the specified type.
Public method Static member RemoveCanExecuteHandler Detaches the specified CanExecuteRoutedEventHandler from the specified element.
Public method Static member RemoveExecutedHandler Detaches the specified ExecutedRoutedEventHandler from the specified element.
Public method Static member RemovePreviewCanExecuteHandler Detaches the specified CanExecuteRoutedEventHandler from the specified element.
Public method Static member RemovePreviewExecutedHandler Detaches the specified ExecutedRoutedEventHandler from the specified element.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft