-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathWarningDialog.cs
29 lines (28 loc) · 969 Bytes
/
WarningDialog.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
using MaterialDesignThemes.Wpf;
using System.Windows.Media;
using wpf_material_dialogs.Enums;
namespace wpf_material_dialogs.Dialogs
{
/// <inheritdoc />
/// <summary>
/// Warning dialog.
/// Implements the <see cref="T:wpf_material_dialogs.Dialogs.DialogBase" />
/// Implements the <see cref="T:System.ComponentModel.INotifyPropertyChanged" />
/// </summary>
/// <seealso cref="T:wpf_material_dialogs.Dialogs.DialogBase" />
/// <seealso cref="T:System.ComponentModel.INotifyPropertyChanged" />
public class WarningDialog : DialogBase
{
/// <summary>
/// Initializes a new instance of the <see cref="WarningDialog" /> class.
/// </summary>
public WarningDialog()
{
Title = "Warning";
DialogButtons = DialogButton.OkButtons;
IconKind = PackIconKind.Alert;
IconBrush = Brushes.DarkGoldenrod;
ShowIcon = true;
}
}
}