Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
DialogResult.cs
Go to the documentation of this file.
1 // Copyright (c) 2014 Silicon Studio Corp. (http://siliconstudio.co.jp)
2 // This file is distributed under GPL v3. See LICENSE.md for details.
3 namespace SiliconStudio.Presentation.Services
4 {
5  // TODO: make these enum independent from their System.Windows equivalent
6  /// <summary>
7  /// An enum representing the result of a dialog invocation.
8  /// </summary>
9  public enum DialogResult
10  {
11  /// <summary>
12  /// The dialog has not been invoked or closed yet.
13  /// </summary>
14  None = 0,
15  /// <summary>
16  /// The dialog has been closed by a validation from the user.
17  /// </summary>
18  Ok = 1,
19  /// <summary>
20  /// The dialog has been closed by a cancellation from the user.
21  /// </summary>
22  Cancel = 2,
23  };
24 }
DialogResult
An enum representing the result of a dialog invocation.
Definition: DialogResult.cs:9
The dialog has been closed by a cancellation from the user.
The dialog has been closed by a validation from the user.