C# Class WinRTXamlToolkit.Input.KeyCommand

TODO: Command to execute and associated key gesture.
Inheritance: ICommand
Datei anzeigen Open project: xyzzer/WinRTXamlToolkit

Public Methods

Method Description
CanExecute ( object parameter ) : bool

Defines the method that determines whether the command can execute in its current state.

Execute ( object parameter ) : void

Defines the method to be called when the command is invoked.

Private Methods

Method Description
RaiseInvoked ( ) : void

Method Details

CanExecute() public method

Defines the method that determines whether the command can execute in its current state.
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.
return bool

Execute() public method

Defines the method to be called when the command is invoked.
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.
return void