Class CloseThisWindowCommand
Represents a command that closes specified window.
public class CloseThisWindowCommand : ICommand
- Inheritance
-
CloseThisWindowCommand
- Implements
Fields
- Instance
Represents an instance of
CloseThisWindowCommand
class.
Methods
- CanExecute(object)
Defines the method that determines whether the command can execute in its current state.
- Execute(object)
Defines the method to be called when the command is invoked.
Events
- CanExecuteChanged
Occurs when changes occur that affect whether or not the command should execute.