Skip to main content
A newer version of this page is available. .
All docs
V21.2

InvalidItemExceptionArgs.ErrorText Property

Gets or sets the error description.

Namespace: DevExpress.Mvvm.Xpf

Assembly: DevExpress.Mvvm.v21.2.dll

NuGet Packages: DevExpress.Mvvm, DevExpress.Uwp.Controls, DevExpress.Win.Design, DevExpress.WinUI

Declaration

public string ErrorText { get; set; }

Property Value

Type Description
String

The error description.

Remarks

Set the ExceptionMode property to DisplayError to display an error message box with text specified by the ErrorText property. Use the WindowCaption property to specify the message box’s caption.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ErrorText property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also