-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathErrorDialog.cs
More file actions
29 lines (28 loc) · 845 Bytes
/
ErrorDialog.cs
File metadata and controls
29 lines (28 loc) · 845 Bytes
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.ComponentModel;
using System.Windows.Media;
using wpf_material_dialogs.Enums;
namespace wpf_material_dialogs.Dialogs
{
/// <summary>
/// Error dialog.
/// Implements the <see cref="DialogBase" />
/// Implements the <see cref="INotifyPropertyChanged" />
/// </summary>
/// <seealso cref="DialogBase" />
/// <seealso cref="INotifyPropertyChanged" />
public class ErrorDialog : DialogBase
{
/// <summary>
/// Initializes a new instance of the <see cref="ErrorDialog" /> class.
/// </summary>
public ErrorDialog()
{
Title = "Error";
DialogButtons = DialogButton.OkButtons;
IconKind = PackIconKind.Error;
IconBrush = Brushes.Red;
ShowIcon = true;
}
}
}