ImageGear for .NET
ImGearDelegateCommand Constructor(Action<Object>,ImGearFunc<Object,Boolean>)




The execute action.
The can execute function.
Initializes a new instance of the ImGearDelegateCommand class.
Syntax
public ImGearDelegateCommand( 
   Action<object> executeAction,
   ImGearFunc<object,bool> canExecute
)
public: ImGearDelegateCommand( 
   Action<Object*>* executeAction,
   ImGearFunc<Object*,bool>* canExecute
)
public:
ImGearDelegateCommand( 
   Action<Object^>^ executeAction,
   ImGearFunc<Object^,bool>^ canExecute
)
'Declaration
 
Public Function New( _
   ByVal executeAction As Action(Of Object), _
   ByVal canExecute As ImGearFunc(Of Object,Boolean) _
)
 
'Usage
 
Dim executeAction As Action(Of Object)
Dim canExecute As ImGearFunc(Of Object,Boolean)
 
Dim instance As New ImGearDelegateCommand(executeAction, canExecute)

Parameters

executeAction
The execute action.
canExecute
The can execute function.
See Also

Reference

ImGearDelegateCommand Class
ImGearDelegateCommand Members
Overload List

 

 


©2014. Accusoft Corporation. All Rights Reserved.

Send Feedback