ActiveReports 18 .NET Edition
MESCIUS.ActiveReports.Viewer.Common Assembly / GrapeCity.Viewer.Common Namespace / DelegateCommand<TParm> Class / DelegateCommand<TParm> Constructor / DelegateCommand<TParm> Constructor(Action<TParm>,Predicate<TParm>)

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

    Parameters

    executeAction
    canExecute
    See Also