AR Design
UBC EML collab with UBC SALA - visualizing IoT data in AR
DialogResult.cs
Go to the documentation of this file.
1 // Copyright (c) Microsoft Corporation. All rights reserved.
2 // Licensed under the MIT License. See LICENSE in the project root for license information.
3 
4 using System.Collections;
5 using System.Collections.Generic;
6 using UnityEngine;
7 
8 namespace HoloToolkit.UX.Dialog
9 {
10  public class DialogResult
11  {
15  private DialogButtonType result = DialogButtonType.Close;
16 
20  private string title = string.Empty;
21 
25  private string message = string.Empty;
26 
30  private DialogButtonType buttons = DialogButtonType.Close;
31 
36  public string Title
37  {
38  get
39  {
40  return title;
41  }
42 
43  set
44  {
45  title = value;
46  }
47  }
48 
53  public string Message
54  {
55  get
56  {
57  return message;
58  }
59 
60  set
61  {
62  message = value;
63  }
64  }
65 
70  public DialogButtonType Buttons
71  {
72  get
73  {
74  return buttons;
75  }
76 
77  set
78  {
79  buttons = value;
80  }
81  }
82 
87  public DialogButtonType Result
88  {
89  get
90  {
91  return result;
92  }
93 
94  set
95  {
96  result = value;
97  }
98  }
99  }
100 }
101 
DialogButtonType
Enum describing the style (caption) of button on a Dialog.