메소드 | 설명 | |
---|---|---|
CanExecute ( object parameter ) : bool |
Defines the method that determines whether the command can execute in its current state.
|
|
DelegateCommand ( Action execute ) : System.Windows.Input |
Initializes a new instance of the DelegateCommand class.
|
|
DelegateCommand ( Action execute, Func |
Initializes a new instance of the DelegateCommand class.
|
|
DelegateCommand ( Action |
Initializes a new instance of the DelegateCommand class.
|
|
DelegateCommand ( Action |
Initializes a new instance of the DelegateCommand class.
|
|
Execute ( object parameter ) : void |
Defines the method to be called when the command is invoked.
|
|
RaiseCanExecuteChanged ( ) : void |
Raises the CanExecuteChanged event.
|
메소드 | 설명 | |
---|---|---|
OnCanExecuteChanged ( EventArgs e ) : void |
Raises the CanExecuteChanged event.
|
public CanExecute ( object parameter ) : bool | ||
parameter | object | Data used by the command. If the command does not require data to be passed, this object can be set to null. |
리턴 | bool |
public DelegateCommand ( Action execute ) : System.Windows.Input | ||
execute | Action | Delegate to execute when Execute is called on the command. |
리턴 | System.Windows.Input |
public DelegateCommand ( Action execute, Func |
||
execute | Action | Delegate to execute when Execute is called on the command. |
canExecute | Func |
Delegate to execute when CanExecute is called on the command. |
리턴 | System.Windows.Input |
public DelegateCommand ( Action |
||
execute | Action |
Delegate to execute when Execute is called on the command. |
리턴 | System.Windows.Input |
public DelegateCommand ( Action |
||
execute | Action |
Delegate to execute when Execute is called on the command. |
canExecute | bool>.Func | Delegate to execute when CanExecute is called on the command. |
리턴 | System.Windows.Input |
public Execute ( object parameter ) : void | ||
parameter | object | Data used by the command. If the command does not require data to be passed, this object can be set to null. |
리턴 | void |
protected OnCanExecuteChanged ( EventArgs e ) : void | ||
e | EventArgs | The |
리턴 | void |