ActiveReports 18 .NET Edition
MESCIUS.ActiveReports.Viewer.Common Assembly / GrapeCity.Viewer.Common Namespace / DelegateCommand Class / DelegateCommand Constructor / DelegateCommand Constructor(Action,Func<Boolean>)
The command will be executed.
Determines whether the command can be executed or not.

In This Topic
    DelegateCommand Constructor(Action,Func<Boolean>)
    In This Topic
    Initializes a new instance of the DelegateCommand class.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal executeAction As Action, _
       ByVal canExecute As Func(Of Boolean) _
    )
    public DelegateCommand( 
       Action executeAction,
       Func<bool> canExecute
    )

    Parameters

    executeAction
    The command will be executed.
    canExecute
    Determines whether the command can be executed or not.
    See Also