Export (0) Print
Expand All

RoutedCommand Members

Defines a command that implements ICommand and is routed through the element tree.

The RoutedCommand type exposes the following members.

  NameDescription
Public method RoutedCommand Overloaded. Initializes a new instance of the RoutedCommand class.
Top

  NameDescription
Public method CanExecute Determines whether this RoutedCommand can execute in its current state.
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Public method Execute Executes the RoutedCommand on the current command target.
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top

  NameDescription
Public property InputGestures Gets the collection of InputGesture objects that are associated with this command.
Public property Name Gets the name of the command.
Public property OwnerType Gets the type that is registered with the command.
Top

  NameDescription
Public event CanExecuteChanged Occurs when changes to the command source are detected by the command manager. These changes often affect whether the command should execute on the current command target.
Top

  NameDescription
Explicit interface implemetation Private method ICommand.CanExecute For a description of this members, see CanExecute.
Explicit interface implemetation Private method ICommand.Execute For a description of this members, see Execute.
Top

Community Additions

ADD
Show:
© 2015 Microsoft