DialogResult Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The result returned from the dialog indicating the action the user took.
public enum DialogResult
type DialogResult =
Public Enum DialogResult
- Inheritance
-
DialogResult
Fields
Name | Value | Description |
---|---|---|
None | 0 | The dialog was closed via the CancellationToken or using an action provided by the IRemoteUserControl content. |
Close | 1 | The user clicked the Close button. |
OK | 2 | The user clicked the OK button. |
Cancel | 3 | The user clicked the Cancel button, or clicked the nonclient close button, or pressed the Esc key. |