DialogResult Enum

Definition

The result returned from the dialog indicating the action the user took.

public enum DialogResult
type DialogResult = 
Public Enum DialogResult
Inheritance
DialogResult

Fields

Cancel 3

The user clicked the Cancel button, or clicked the nonclient close button, or pressed the Esc key.

Close 1

The user clicked the Close button.

None 0

The dialog was closed via the CancellationToken or using an action provided by the IRemoteUserControl content.

OK 2

The user clicked the OK button.

Applies to