CSLA .NET 10.0.0
A home for your business logic
Loading...
Searching...
No Matches
Csla.Xaml.ErrorDialog Class Reference

Displays an error dialog for any exceptions that occur in a CslaDataProvider. More...

Inheritance diagram for Csla.Xaml.ErrorDialog:
Csla.Xaml.IErrorDialog

Public Member Functions

 ErrorDialog ()
 Creates a new instance of the control.

Static Public Attributes

static readonly DependencyProperty DialogTitleProperty
 Gets or sets the title of the error dialog.
static readonly DependencyProperty DialogFirstLineProperty
 Gets or sets the first line of text displayed within the error dialog (before the exception message).
static readonly DependencyProperty ShowExceptionDetailProperty
 Gets or sets a value indicating whether the dialog should include exception details or just the exception summary message.
static readonly DependencyProperty DialogIconProperty
 Gets or sets a value indicating whether the dialog should include exception details or just the exception summary message.

Properties

string? DialogTitle [get, set]
 Gets or sets the title of the error dialog.
string? DialogFirstLine [get, set]
 Gets or sets the first line of text displayed within the error dialog (before the exception message).
bool ShowExceptionDetail [get, set]
 Gets or sets the first line of text displayed within the error dialog (before the exception message).
MessageBoxImage DialogIcon [get, set]
 Gets or sets the icon displayed in the dialog.

Detailed Description

Displays an error dialog for any exceptions that occur in a CslaDataProvider.

Constructor & Destructor Documentation

◆ ErrorDialog()

Csla.Xaml.ErrorDialog.ErrorDialog ( )
inline

Creates a new instance of the control.

Member Data Documentation

◆ DialogFirstLineProperty

readonly DependencyProperty Csla.Xaml.ErrorDialog.DialogFirstLineProperty
static
Initial value:
= DependencyProperty.Register(
typeof(string),
typeof(ErrorDialog),
null)
ErrorDialog()
Creates a new instance of the control.
Definition ErrorDialog.cs:24
string? DialogFirstLine
Gets or sets the first line of text displayed within the error dialog (before the exception message).
Definition ErrorDialog.cs:73

Gets or sets the first line of text displayed within the error dialog (before the exception message).

◆ DialogIconProperty

readonly DependencyProperty Csla.Xaml.ErrorDialog.DialogIconProperty
static
Initial value:
= DependencyProperty.Register(
nameof(DialogIcon),
typeof(MessageBoxImage),
typeof(ErrorDialog),
null)
MessageBoxImage DialogIcon
Gets or sets the icon displayed in the dialog.
Definition ErrorDialog.cs:116

Gets or sets a value indicating whether the dialog should include exception details or just the exception summary message.

◆ DialogTitleProperty

readonly DependencyProperty Csla.Xaml.ErrorDialog.DialogTitleProperty
static
Initial value:
= DependencyProperty.Register(
nameof(DialogTitle),
typeof(string),
typeof(ErrorDialog),
null)
string? DialogTitle
Gets or sets the title of the error dialog.
Definition ErrorDialog.cs:51

Gets or sets the title of the error dialog.

◆ ShowExceptionDetailProperty

readonly DependencyProperty Csla.Xaml.ErrorDialog.ShowExceptionDetailProperty
static
Initial value:
= DependencyProperty.Register(
typeof(bool),
typeof(ErrorDialog),
null)
bool ShowExceptionDetail
Gets or sets the first line of text displayed within the error dialog (before the exception message).
Definition ErrorDialog.cs:95

Gets or sets a value indicating whether the dialog should include exception details or just the exception summary message.

Property Documentation

◆ DialogFirstLine

string? Csla.Xaml.ErrorDialog.DialogFirstLine
getset

Gets or sets the first line of text displayed within the error dialog (before the exception message).

◆ DialogIcon

MessageBoxImage Csla.Xaml.ErrorDialog.DialogIcon
getset

Gets or sets the icon displayed in the dialog.

◆ DialogTitle

string? Csla.Xaml.ErrorDialog.DialogTitle
getset

Gets or sets the title of the error dialog.

◆ ShowExceptionDetail

bool Csla.Xaml.ErrorDialog.ShowExceptionDetail
getset

Gets or sets the first line of text displayed within the error dialog (before the exception message).


The documentation for this class was generated from the following file: