Intersoft ClientUI Documentation
DelegateCommand Constructor(Action<Object>,Func<Object,Boolean>)



Syntax
Public Function New( _
   ByVal executeMethod As Action(Of Object), _
   ByVal canExecuteMethod As Func(Of Object,Boolean) _
)
Dim executeMethod As Action(Of Object)
Dim canExecuteMethod As Func(Of Object,Boolean)
 
Dim instance As New DelegateCommand(executeMethod, canExecuteMethod)
public DelegateCommand( 
   Action<object> executeMethod,
   Func<object,bool> canExecuteMethod
)
public:
DelegateCommand( 
   Action<Object^>^ executeMethod,
   Func<Object^,bool>^ canExecuteMethod
)

Parameters

executeMethod
canExecuteMethod
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

DelegateCommand Class
DelegateCommand Members
Overload List

Send Feedback