init
This commit is contained in:
27
Common/DTS.Common/Dialogs/ConfirmationEx.cs
Normal file
27
Common/DTS.Common/Dialogs/ConfirmationEx.cs
Normal file
@@ -0,0 +1,27 @@
|
||||
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; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user