Export (0) Print
Expand All

DelegateCommand<T> Members

The DelegateCommand<T> type exposes the following members.

  NameDescription
Ff653860.pubmethod(en-us,PandP.10).gif DelegateCommand<T> Overloaded.

  NameDescription
Ff653860.pubmethod(en-us,PandP.10).gif CanExecute
Defines the method that determines whether the command can execute in its current state.
Ff653860.pubmethod(en-us,PandP.10).gif Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Ff653860.pubmethod(en-us,PandP.10).gif Execute
Defines the method to be called when the command is invoked.
Ff653860.protmethod(en-us,PandP.10).gif Finalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Ff653860.pubmethod(en-us,PandP.10).gif GetHashCode
Serves as a hash function for a particular type. GetHashCode() is suitable for use in hashing algorithms and data structures like a hash table.
(Inherited from Object.)
Ff653860.pubmethod(en-us,PandP.10).gif GetType
Gets the Type of the current instance.
(Inherited from Object.)
Ff653860.protmethod(en-us,PandP.10).gif MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Ff653860.protmethod(en-us,PandP.10).gif OnCanExecuteChanged
Raises CanExecuteChanged on the UI thread so every command invoker can requery CanExecute(Object) to check if the CompositeCommand can execute.
Ff653860.protmethod(en-us,PandP.10).gif OnIsActiveChanged
This raises the IsActiveChanged event.
Ff653860.pubmethod(en-us,PandP.10).gif RaiseCanExecuteChanged
Raises CanExecuteChanged on the UI thread so every command invoker can requery to check if the command can execute.

Note that this will trigger the execution of CanExecute(T) once for each invoker.
Ff653860.pubmethod(en-us,PandP.10).gif ToString
Returns a String that represents the current Object.
(Inherited from Object.)

  NameDescription
Ff653860.pubproperty(en-us,PandP.10).gif IsActive
Gets or sets a value indicating whether the object is active.

  NameDescription
Ff653860.pubevent(en-us,PandP.10).gif CanExecuteChanged
Occurs when changes occur that affect whether or not the command should execute.
Ff653860.pubevent(en-us,PandP.10).gif IsActiveChanged
Fired if the IsActive property changes.

  NameDescription
Ff653860.pubinterface(en-us,PandP.10).gif Ff653860.privmethod(en-us,PandP.10).gif ICommand.CanExecute
Defines the method that determines whether the command can execute in its current state.
Ff653860.pubinterface(en-us,PandP.10).gif Ff653860.privmethod(en-us,PandP.10).gif ICommand.Execute
Defines the method to be called when the command is invoked.
Show:
© 2014 Microsoft