ComponentOne FinancialChart for WPF
C1DelegateCommand Constructor(Action<Object>,Predicate<Object>)



C1.WPF Namespace > C1DelegateCommand Class > C1DelegateCommand Constructor : C1DelegateCommand Constructor(Action<Object>,Predicate<Object>)
The execute delegate.
The can execute delegate.
Initializes a new instance of the C1DelegateCommand class.
Syntax
'Declaration
 
Public Function New( _
   ByVal execute As Action(Of Object), _
   ByVal canExecute As Predicate(Of Object) _
)
'Usage
 
Dim execute As Action(Of Object)
Dim canExecute As Predicate(Of Object)
 
Dim instance As New C1DelegateCommand(execute, canExecute)
public C1DelegateCommand( 
   Action<object> execute,
   Predicate<object> canExecute
)
public:
C1DelegateCommand( 
   Action<Object^>^ execute,
   Predicate<Object^>^ canExecute
)

Parameters

execute
The execute delegate.
canExecute
The can execute delegate.
See Also

Reference

C1DelegateCommand Class
C1DelegateCommand Members
Overload List