28 lines
852 B
C#
28 lines
852 B
C#
using DTS.Common.Interactivity;
|
|
using System.Windows;
|
|
|
|
|
|
namespace DTS.Common.Dialogs
|
|
{
|
|
/// <summary>
|
|
/// Represents an interaction request used for confirmations.
|
|
/// </summary>
|
|
public class ConfirmationEx : Confirmation
|
|
{
|
|
/// <summary>
|
|
/// Gets or sets the type of buttons displayed in the confirmation window.
|
|
/// </summary>
|
|
public MessageBoxButton Buttons { get; set; } = MessageBoxButton.OKCancel;
|
|
|
|
/// <summary>
|
|
/// Gets or sets the type of image displayed in the confirmation window.
|
|
/// </summary>
|
|
public MessageBoxImage Image { get; set; } = MessageBoxImage.Question;
|
|
|
|
/// <summary>
|
|
/// Returns result of the confirmation window.
|
|
/// </summary>
|
|
public MessageBoxResult Result { get; set; }
|
|
}
|
|
}
|