다음을 통해 공유


DialogResult Members

Include Protected Members
Include Inherited Members

Dialog result values. These match Windows buttons IDs (IDOK, IDCANCEL, etc.) In addition we define the result for failure to display the dialog. WPF dialogs return OK/Cancel for the boolean value result of ShowDialog() call, and Fail if the dialog does not have return value yet.

The DialogResult type exposes the following members.

Fields

  Name Description
Public fieldStatic member Abort
Public fieldStatic member Cancel
Public fieldStatic member Close
Public fieldStatic member Continue
Public fieldStatic member Fail
Public fieldStatic member Help
Public fieldStatic member Ignore
Public fieldStatic member No
Public fieldStatic member OK
Public fieldStatic member Retry
Public fieldStatic member TryAgain
Public fieldStatic member Yes

Top

See Also

Reference

DialogResult Class

Microsoft.Internal.VisualStudio.PlatformUI Namespace