🔹 RoutedCommand Class
namespace Noesis | MSDN
A command that is routed through the element tree.
Properties
| Name | Description |
|---|---|
| ◆ InputGestures | Gets the collection of InputGesture objects that are associated with this command |
| ◆ Name | Gets the name of the command as it is registered in the CommandManager |
| ◆ OwnerType | Gets the class type of the object that defines the command |
◆ Dependency Property ◆ Reflection Property
Attached Properties
RoutedCommand has no attached properties
Methods
| Name | Description |
|---|---|
| ◆ CanExecute(BaseComponent*, UIElement*) | Determines whether this RoutedCommand can execute in its current state |
| ◆ Execute(BaseComponent*, UIElement*) | Executes the RoutedCommand on the current command target |
From BaseCommand
| Name | Description |
|---|---|
| ◆ CanExecute(BaseComponent*) | Determines whether the command can execute in its current state |
| ◆ CanExecuteChanged() | Occurs when something changes that affects whether or not the command should execute |
| ◆ Execute(BaseComponent*) | This method is called when command is invoked |
Events
RoutedCommand has no events
📍 On this page