DialogResult Enumeration

Contains values that identify the way in which the dialog box was closed.

Syntax

public enum DialogResult

The DialogResult enumeration defines the following constants:

Constant Description
Active The dialog box is active (for modeless dialog boxes).
Cancel The Cancel button was selected.
Closed The dialog box was closed (for modeless dialog boxes).
No The No button was selected.
Ok The OK button was selected.
Timeout The dialog box timed out.
Yes The Yes button was selected.

Requirements

Reference: Microsoft.MediaCenter

Namespace: Microsoft.MediaCenter

Assembly: Microsoft.MediaCenter.dll

Platform: Windows Vista Ultimate, Windows Vista Home Premium, and later

See Also