Share via


CommandModel Members

Include Protected Members
Include Inherited Members

The CommandModel type exposes the following members.

Constructors

  Name Description
Ff672334.protmethod(en-us,PandP.50).gif CommandModel Overloaded.

Methods

  Name Description
Ff672334.pubmethod(en-us,PandP.50).gif CanExecute
Defines the method that determines whether the command can execute in its current state.
Ff672334.pubmethod(en-us,PandP.50).gif Dispose Overloaded.
Ff672334.pubmethod(en-us,PandP.50).gif Equals (Inherited from Object.)
Ff672334.pubmethod(en-us,PandP.50).gif Execute
Defines the method to be called when the command is invoked.
Ff672334.protmethod(en-us,PandP.50).gif Finalize (Inherited from Object.)
Ff672334.pubmethod(en-us,PandP.50).gif GetHashCode (Inherited from Object.)
Ff672334.pubmethod(en-us,PandP.50).gif GetType (Inherited from Object.)
Ff672334.protmethod(en-us,PandP.50).gif InnerCanExecute
When implemented by a child, determines if the command can execute.
Ff672334.protmethod(en-us,PandP.50).gif InnerExecute
When implemented by a child, executes the command.
Ff672334.protmethod(en-us,PandP.50).gif MemberwiseClone (Inherited from Object.)
Ff672334.pubmethod(en-us,PandP.50).gif OnCanExecuteChanged
Invokes the CanExecuteChanged event.
Ff672334.protmethod(en-us,PandP.50).gif OnPropertyChanged
Invokes the PropertyChanged event for this class
Ff672334.pubmethod(en-us,PandP.50).gif ToString (Inherited from Object.)

Properties

  Name Description
Ff672334.pubproperty(en-us,PandP.50).gif Browsable
Ff672334.pubproperty(en-us,PandP.50).gif ChildCommands
Child CommandModel commands to this command.
Ff672334.pubproperty(en-us,PandP.50).gif HelpText
The command's related help text.
Ff672334.pubproperty(en-us,PandP.50).gif KeyGesture
Defines the key gesture used for this command.
Ff672334.pubproperty(en-us,PandP.50).gif Placement
The logical placement of the command.
Ff672334.pubproperty(en-us,PandP.50).gif Title
Provides the title of the CommandModel command. Typically this will appear as the title to a menu in the configuration tool.
Ff672334.protproperty(en-us,PandP.50).gif UIService
Service for displaying messages and dialogs to the user.

Events

  Name Description
Ff672334.pubevent(en-us,PandP.50).gif CanExecuteChanged
Occurs when changes occur that affect whether or not the command should execute.
Ff672334.pubevent(en-us,PandP.50).gif PropertyChanged
Occurs when a property value changes.

See Also

CommandModel Class

Microsoft.Practices.EnterpriseLibrary.Configuration.Design.ViewModel Namespace