TaskDialogResult Enumeration

Represents possible dialog results of a TaskDialog.

Definition

Namespace: KGySoft.WinForms.Components
Assembly: KGySoft.WinForms (in KGySoft.WinForms.dll) Version: 5.0.1
C#
public enum TaskDialogResult

Members

None0 Indicates none of the possible results. Usually means that the dialog is not closed yet.
OK1 Indicates the "OK" dialog result. Usually means that the dialog was closed by clicking the "OK" button.
Cancel2 Indicates the "Cancel" dialog result. Usually means that the dialog was closed by either clicking the "Cancel" button, or pressing Esc or Alt+F4 buttons.
Retry4 
Yes6 
No7 Indicates the "No" dialog result. Usually means that the dialog was closed by clicking the "No" button.
Close8 Indicates the "Close" dialog result. Usually means that the dialog was closed by clicking the "Close" button.
Custom9 Indicates a custom dialog result. Usually means that the dialog was closed by clicking one of the custom buttons.

See Also