DelegateCommand Constructor (Action<Object^>^, Predicate<Object^>^)
Visual Studio 2015
Initializes a new instance of the DelegateCommand class.
Assembly: Microsoft.VisualStudio.Utilities (in Microsoft.VisualStudio.Utilities.dll)
Parameters
- execute
-
Type:
System::Action<Object^>^
The delegate to call when executing the command.
- canExecute
-
Type:
System::Predicate<Object^>^
The delegate to call when querying the command.
Show: