Skip to main content

CommandAttribute Properties

Allows you to generate commands from methods.
Name Description
CanExecuteMethodName Gets or sets the name of the function that defines whether the command can be executed.
IsCommand Gets whether to generate a command from the method.
Name Gets or sets the name of the generated command.
TypeId When implemented in a derived class, gets a unique identifier for this Attribute. Inherited from Attribute.
UseCommandManager Gets or sets whether to use a function that manages the command execution.
See Also