![]() |
Paradox Game Engine
v1.0.0 beta06
|
This class represents a command that is always disabled and does nothing when executed. More...
Public Member Functions | |
bool | CanExecute (object parameter) |
void | Execute (object parameter) |
void | Execute () |
Executes the command with a null parameter. More... | |
Properties | |
static DisabledCommand | Instance [get, set] |
Gets a singleton instance of the DisabledCommand More... | |
bool | IsEnabled [get, set] |
EventHandler | CanExecuteChanged |
![]() | |
bool | IsEnabled [get, set] |
Indicates whether the command can be executed or not. More... | |
This class represents a command that is always disabled and does nothing when executed.
This class is a singleton, you can access to the instance via the static property Instance.
Definition at line 11 of file DisabledCommand.cs.
bool SiliconStudio.Presentation.Commands.DisabledCommand.CanExecute | ( | object | parameter | ) |
Definition at line 41 of file DisabledCommand.cs.
void SiliconStudio.Presentation.Commands.DisabledCommand.Execute | ( | object | parameter | ) |
Definition at line 47 of file DisabledCommand.cs.
void SiliconStudio.Presentation.Commands.DisabledCommand.Execute | ( | ) |
Executes the command with a null
parameter.
Implements SiliconStudio.Presentation.Commands.ICommandBase.
Definition at line 53 of file DisabledCommand.cs.
|
addremove |
Definition at line 35 of file DisabledCommand.cs.
|
staticgetset |
Gets a singleton instance of the DisabledCommand
Definition at line 21 of file DisabledCommand.cs.
|
getset |
Definition at line 31 of file DisabledCommand.cs.