CommandModel Members
Include Protected Members
Include Inherited Members
The CommandModel type exposes the following members.
Constructors
Name | Description | |
---|---|---|
CommandModel | Overloaded. |
Methods
Name | Description | |
---|---|---|
CanExecute |
Defines the method that determines whether the command can execute in its current state.
|
|
Dispose | Overloaded. | |
Equals | (Inherited from Object.) | |
Execute |
Defines the method to be called when the command is invoked.
|
|
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
InnerCanExecute |
When implemented by a child, determines if the command can execute.
|
|
InnerExecute |
When implemented by a child, executes the command.
|
|
MemberwiseClone | (Inherited from Object.) | |
OnCanExecuteChanged |
Invokes the CanExecuteChanged event.
|
|
OnPropertyChanged |
Invokes the PropertyChanged event for this class
|
|
ToString | (Inherited from Object.) |
Properties
Name | Description | |
---|---|---|
Browsable | ||
ChildCommands |
Child CommandModel commands to this command.
|
|
HelpText |
The command's related help text.
|
|
KeyGesture |
Defines the key gesture used for this command.
|
|
Placement |
The logical placement of the command.
|
|
Title |
Provides the title of the CommandModel command. Typically this will appear as the title to a menu in the configuration tool.
|
|
UIService |
Service for displaying messages and dialogs to the user.
|
Events
Name | Description | |
---|---|---|
CanExecuteChanged |
Occurs when changes occur that affect whether or not the command should execute.
|
|
PropertyChanged |
Occurs when a property value changes.
|
See Also
Microsoft.Practices.EnterpriseLibrary.Configuration.Design.ViewModel Namespace