Share via


ButtonBaseClickCommandBehavior Members

Include Protected Members
Include Inherited Members

The ButtonBaseClickCommandBehavior type exposes the following members.

Constructors

  Name Description
Ff654491.pubmethod(en-us,PandP.10).gif ButtonBaseClickCommandBehavior
Initializes a new instance of the ButtonBaseClickCommandBehavior class and hooks up the Click event of clickableObject to the ExecuteCommand() method.

Methods

  Name Description
Ff654491.pubmethod(en-us,PandP.10).gif Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Ff654491.protmethod(en-us,PandP.10).gif ExecuteCommand
Executes the command, if it's set, providing the CommandParameter
(Inherited from CommandBehaviorBase<T>.)
Ff654491.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.)
Ff654491.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.)
Ff654491.pubmethod(en-us,PandP.10).gif GetType
Gets the Type of the current instance.
(Inherited from Object.)
Ff654491.protmethod(en-us,PandP.10).gif MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Ff654491.pubmethod(en-us,PandP.10).gif ToString
Returns a String that represents the current Object.
(Inherited from Object.)
Ff654491.protmethod(en-us,PandP.10).gif UpdateEnabledState
Updates the target object's IsEnabled property based on the commands ability to execute.
(Inherited from CommandBehaviorBase<T>.)

Properties

  Name Description
Ff654491.pubproperty(en-us,PandP.10).gif Command
Corresponding command to be execute and monitored for CanExecuteChanged
(Inherited from CommandBehaviorBase<T>.)
Ff654491.pubproperty(en-us,PandP.10).gif CommandParameter
The parameter to supply the command during execution
(Inherited from CommandBehaviorBase<T>.)
Ff654491.protproperty(en-us,PandP.10).gif TargetObject
Object to which this behavior is attached.
(Inherited from CommandBehaviorBase<T>.)

See Also

ButtonBaseClickCommandBehavior Class

Microsoft.Practices.Composite.Presentation.Commands Namespace