ImageGear .NET v24.12 - Updated
ImGearDelegateCommand Constructor(Action<Object>,ImGearFunc<Object,Boolean>,IImGearCommandManager)




ImageGear24.Windows.Controls Assembly > ImageGear.Windows.Controls Namespace > ImGearDelegateCommand Class > ImGearDelegateCommand Constructor : ImGearDelegateCommand Constructor(Action<Object>,ImGearFunc<Object,Boolean>,IImGearCommandManager)
The execute action.
The can execute function.
The command manager.
Initializes a new instance of the ImGearDelegateCommand class.
Syntax
'Declaration
 
Public Function New( _
   ByVal executeAction As Action(Of Object), _
   ByVal canExecute As ImGearFunc(Of Object,Boolean), _
   ByVal commandManager As IImGearCommandManager _
)
'Usage
 
Dim executeAction As Action(Of Object)
Dim canExecute As ImGearFunc(Of Object,Boolean)
Dim commandManager As IImGearCommandManager
 
Dim instance As New ImGearDelegateCommand(executeAction, canExecute, commandManager)

Parameters

executeAction
The execute action.
canExecute
The can execute function.
commandManager
The command manager.
See Also

Reference

ImGearDelegateCommand Class
ImGearDelegateCommand Members
Overload List