Enum DialogCloseAction
Represents different ways a user can close a dialog.
public enum DialogCloseAction
Fields
CancelButton = 3
The user canceled the dialog using the Cancel button.
CloseButtonInTitleBar = 5
The user closed the dialog using the title bar close button.
EnterKey = 2
The user closed the dialog by pressing the Enter key.
EscapeKey = 4
The user dismissed the dialog using the Escape key.
None = 0
Represents cases where none of the defined close actions were taken.
OkButton = 1
The user closed the dialog using the OK button.
Other = 6
Represents an unspecified or custom close action.