Share via


ButtonBaseClickCommandBehavior Members

Include Protected Members
Include Inherited Members

The ButtonBaseClickCommandBehavior type exposes the following members.

Constructors

  Name Description
Public method ButtonBaseClickCommandBehavior
Initializes a new instance of the ButtonBaseClickCommandBehavior class and hooks up the Click event of clickableObject to the ExecuteCommand() method.

Methods

  Name Description
Public method Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected method ExecuteCommand
Executes the command, if it's set, providing the CommandParameter
(Inherited from CommandBehaviorBase<T>.)
Protected method 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.)
Public method GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public method ToString
Returns a String that represents the current Object.
(Inherited from Object.)
Protected method UpdateEnabledState
Updates the target object's IsEnabled property based on the commands ability to execute.
(Inherited from CommandBehaviorBase<T>.)

Properties

  Name Description
Public property Command
Corresponding command to be execute and monitored for CanExecuteChanged
(Inherited from CommandBehaviorBase<T>.)
Public property CommandParameter
The parameter to supply the command during execution
(Inherited from CommandBehaviorBase<T>.)
Protected property TargetObject
Object to which this behavior is attached.
(Inherited from CommandBehaviorBase<T>.)

See Also

ButtonBaseClickCommandBehavior Class

Microsoft.Practices.Prism.Commands Namespace