CSLA.NET 6.0.0
CSLA .NET is a software development framework that helps you build a reusable, maintainable object-oriented business layer for your app.
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. More...
 

Static Public Attributes

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

Properties

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

Detailed Description

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

Definition at line 19 of file ErrorDialog.cs.

Constructor & Destructor Documentation

◆ ErrorDialog()

Csla.Xaml.ErrorDialog.ErrorDialog ( )

Creates a new instance of the control.

Definition at line 24 of file ErrorDialog.cs.

Member Data Documentation

◆ DialogFirstLineProperty

readonly DependencyProperty Csla.Xaml.ErrorDialog.DialogFirstLineProperty
static
Initial value:
= DependencyProperty.Register(
"DialogFirstLine",
typeof(string),
typeof(ErrorDialog),
null)
ErrorDialog()
Creates a new instance of the control.
Definition: ErrorDialog.cs:24

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

Definition at line 61 of file ErrorDialog.cs.

◆ DialogIconProperty

readonly DependencyProperty Csla.Xaml.ErrorDialog.DialogIconProperty
static
Initial value:
= DependencyProperty.Register(
"DialogIcon",
typeof(MessageBoxImage),
typeof(ErrorDialog),
null)

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

Definition at line 105 of file ErrorDialog.cs.

◆ DialogTitleProperty

readonly DependencyProperty Csla.Xaml.ErrorDialog.DialogTitleProperty
static
Initial value:
= DependencyProperty.Register(
"DialogTitle",
typeof(string),
typeof(ErrorDialog),
null)

Gets or sets the title of the error dialog.

Definition at line 40 of file ErrorDialog.cs.

◆ ShowExceptionDetailProperty

readonly DependencyProperty Csla.Xaml.ErrorDialog.ShowExceptionDetailProperty
static
Initial value:
= DependencyProperty.Register(
"ShowExceptionDetail",
typeof(bool),
typeof(ErrorDialog),
null)

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

Definition at line 83 of file ErrorDialog.cs.

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).

Definition at line 72 of file ErrorDialog.cs.

◆ DialogIcon

MessageBoxImage Csla.Xaml.ErrorDialog.DialogIcon
getset

Gets or sets the icon displayed in the dialog.

Definition at line 115 of file ErrorDialog.cs.

◆ DialogTitle

string Csla.Xaml.ErrorDialog.DialogTitle
getset

Gets or sets the title of the error dialog.

Definition at line 50 of file ErrorDialog.cs.

◆ ShowExceptionDetail

bool Csla.Xaml.ErrorDialog.ShowExceptionDetail
getset

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

Definition at line 94 of file ErrorDialog.cs.