[]
        
(Showing Draft Content)

GrapeCity.Viewer.Common.DelegateCommand-1.-ctor

DelegateCommand Constructor

DelegateCommand(Action<TParm>, Predicate<TParm>)

Initializes a new instance of the DelegateCommand<TParm> class.

Declaration
public DelegateCommand(Action<TParm> executeAction, Predicate<TParm> canExecute)
Parameters
Type Name Description
Action<TParm> executeAction
Predicate<TParm> canExecute

DelegateCommand(Action<TParm>)

Initializes a new instance of the DelegateCommand<TParm> class.

Declaration
public DelegateCommand(Action<TParm> executeAction)
Parameters
Type Name Description
Action<TParm> executeAction