Files
DP44/Common/DTS.CommonCore/.svn/pristine/8e/8e737101102afcc67e6d476e127d4a47f0d1257a.svn-base

45 lines
1.4 KiB
Plaintext
Raw Permalink Normal View History

2026-04-17 14:55:32 -04:00
using System.Windows;
using Microsoft.Practices.Prism.Interactivity.InteractionRequest;
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; }
///// <summary>
///// The number of milliseconds before dialog auto-closes (0 = remain open).
///// </summary>
//public int Timeout
//{
// get { return _timeout; }
// set { _timeout = value; }
//}
///// <summary>
///// Returns result of the confirmation window.
///// </summary>
//public MessageBoxResult TimeoutResult
//{
// get { return _timeoutResult; }
// set { _timeoutResult = value; }
//}
}
}