Export (0) Print
Expand All

DelegateCommand<T> Constructor (Action<T>)

Initializes a new instance of DelegateCommand<T>.

Namespace:  Microsoft.Practices.Composite.Presentation.Commands
Assembly:  Microsoft.Practices.Composite.Presentation (in Microsoft.Practices.Composite.Presentation.dll)

Microsoft.Practices.Composite.Presentation.Commands.DelegateCommand = function(executeMethod);

Parameters

executeMethod
Type: System.Action<T>
Delegate to execute when Execute is called on the command. This can be null to just hook up a CanExecute delegate.

will always return true.
Show:
© 2015 Microsoft