MessageBoxCommand Properties
Specifies a model for message box buttons. The MessageBoxService uses this class.Name | Description |
---|---|
Caption | Gets the message box command caption. |
Command | Gets the command that is invoked when a user clicks a message box button that is associated with this MessageBoxCommand instance. |
Id | Gets an object that identifies a message box command. |
IsCancel |
Gets or sets whether the MessageBoxCommand is the cancel command. The cancel command is executed when you click the Esc key.
|
IsDefault |
Gets or sets whether the MessageBoxCommand is the default command. The default command is focused when the message box is displayed. When you click the Enter or Space key, the default command is executed.
|
See Also