[]
        
(Showing Draft Content)

C1.WPF.C1DelegateCommand.-ctor

C1DelegateCommand Constructor

C1DelegateCommand(Action<object>)

Initializes a new instance of the C1DelegateCommand class.

Declaration
public C1DelegateCommand(Action<object> execute)
Parameters
Type Name Description
Action<object> execute

The execute delegate.

C1DelegateCommand(Action<object>, Predicate<object>)

Initializes a new instance of the C1DelegateCommand class.

Declaration
public C1DelegateCommand(Action<object> execute, Predicate<object> canExecute)
Parameters
Type Name Description
Action<object> execute

The execute delegate.

Predicate<object> canExecute

The can execute delegate.