CommandAdapter.BindCommand Method
Called when the CommandAdapter is registered with a Command.
Namespace: Microsoft.Practices.CompositeUI.Commands
Assembly: Microsoft.Practices.CompositeUI (in microsoft.practices.compositeui.dll)
Syntax
'Declaration
Public Overridable Sub BindCommand ( _
command As Command _
)
'Usage
Dim instance As CommandAdapter
Dim command As Command
instance.BindCommand(command)
public virtual void BindCommand (
Command command
)
public:
virtual void BindCommand (
Command^ command
)
public void BindCommand (
Command command
)
public function BindCommand (
command : Command
)
Parameters
- command
The Command the adapter is being added to.
Remarks
The default implementation of this method adds the CommandChangedHandler method handler to the Changed event.
See Also
Reference
CommandAdapter Class
CommandAdapter Members
Microsoft.Practices.CompositeUI.Commands Namespace