using System.Windows; using Microsoft.Practices.Prism.Interactivity.InteractionRequest; namespace DTS.Common.Dialogs { /// /// Represents an interaction request used for confirmations. /// public class ConfirmationEx : Confirmation { /// /// Gets or sets the type of buttons displayed in the confirmation window. /// public MessageBoxButton Buttons { get; set; } = MessageBoxButton.OKCancel; /// /// Gets or sets the type of image displayed in the confirmation window. /// public MessageBoxImage Image { get; set; } = MessageBoxImage.Question; /// /// Returns result of the confirmation window. /// public MessageBoxResult Result { get; set; } ///// ///// The number of milliseconds before dialog auto-closes (0 = remain open). ///// //public int Timeout //{ // get { return _timeout; } // set { _timeout = value; } //} ///// ///// Returns result of the confirmation window. ///// //public MessageBoxResult TimeoutResult //{ // get { return _timeoutResult; } // set { _timeoutResult = value; } //} } }