wpf-devexpress-dot-xpf-dot-grid-dot-invalidrowexceptioneventargs-b3a06e8a.md
Gets or sets the error window’s caption.
Namespace : DevExpress.Xpf.Grid
Assembly : DevExpress.Xpf.Grid.v25.2.dll
NuGet Package : DevExpress.Wpf.Grid.Core
public string WindowCaption { get; set; }
Public Property WindowCaption As String
| Type | Description |
|---|---|
| String |
A String value that specifies the caption of the error window.
|
The WindowCaption property specifies the caption of the message box displayed when the InvalidRowExceptionEventArgs.ExceptionMode property is set to ExceptionMode.DisplayError. The text displayed within this message box can be specified, using the InvalidRowExceptionEventArgs.ErrorText property.
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the WindowCaption 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.
e.ErrorText = "Please enter the Product Name.";
e.WindowCaption = "Input Error";
}
e.ErrorText = "Please enter the Product Name."
e.WindowCaption = "Input Error"
End If
See Also
InvalidRowExceptionEventArgs Class