// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
namespace Microsoft.MixedReality.Toolkit.UI
{
public class DialogResult
{
///
/// The public property to get and set the Title
/// string (topmost) on the Dialog.
///
public string Title { get; set; } = string.Empty;
///
/// The public property to get and set the Message
/// string of the dialog.
///
public string Message { get; set; } = string.Empty;
///
/// Property defining the button type[s]
/// on the dialog.
///
public DialogButtonType Buttons { get; set; } = DialogButtonType.Close;
///
/// Property reporting the Result of the Dialog:
/// Which button was clicked to dismiss it.
///
public DialogButtonType Result { get; set; } = DialogButtonType.Close;
///
/// The public property to get and set the variable
/// object of the dialog
///
public object Variable { get; set; }
}
}