Share via


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

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.

Applies to