The RoutedCommand type exposes the following members.


Public methodRoutedCommand()()()()
Initializes a new instance of the RoutedCommand class.
Public methodRoutedCommand(String, Type)
Initializes a new instance of the RoutedCommand class with the given name and owner type.
Public methodRoutedCommand(String, Type, InputGestureCollection)
Initializes a new instance of the RoutedCommand class with the given name, owner type, and input gestures.


Public methodCanExecute
Determines whether this instance can be executed for the specified parameters.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodExecute
Executes this command by routing the corresponding ExecutedRoutedEventArgs through the visual tree.
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodOnCanExecuteChanged
Raises the CanExecuteChanged event.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)


Public propertyInputGestures
Gets the collection of input gestures for this command.
Public propertyName
Gets the name of this command.
Public propertyOwnerType
Gets the type of the owner that declares this command.


Public eventCanExecuteChanged
Is triggered whenever the return value of CanExecute(Object, UIElement) might have changed.

See Also