ImageGear22.Windows.Controls Assembly > ImageGear.Windows.Controls Namespace > ImGearDelegateCommand Class > ImGearDelegateCommand Constructor : ImGearDelegateCommand Constructor(Action<Object>,ImGearFunc<Object,Boolean>,IImGearCommandManager) |
'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)
public ImGearDelegateCommand( Action<object> executeAction, ImGearFunc<object,bool> canExecute, IImGearCommandManager commandManager )
public: ImGearDelegateCommand( Action<Object*>* executeAction, ImGearFunc<Object*,bool>* canExecute, IImGearCommandManager* commandManager )
public: ImGearDelegateCommand( Action<Object^>^ executeAction, ImGearFunc<Object^,bool>^ canExecute, IImGearCommandManager^ commandManager )