Skip to content

Commit 98561fb

Browse files
Apply suggestions from code review
Co-authored-by: dirkpieterse <dirk.pieterse@devexpress.com>
1 parent 32a97f9 commit 98561fb

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Readme.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77

88
# WPF Editors - Indicate Errors and Warnings by Implementing IDataErrorInfo
99

10-
This example validates input in a WPF [`TextEdit`](https://docs.devexpress.com/WPF/DevExpress.Xpf.Editors.TextEdit) and displays a warning if validation fails. It implements the standard `IDataErrorInfo` interface and applies a custom `ErrorControl` style to display icons (error, warning, information) along with descriptive messages to help users quickly correct input errors.
10+
This example validates input in a WPF [`TextEdit`](https://docs.devexpress.com/WPF/DevExpress.Xpf.Editors.TextEdit) and displays a warning if validation fails. It implements the standard `IDataErrorInfo` interface and applies a custom `ErrorControl` style to display icons (error, warning, information) along with descriptive messages to help users correct input errors.
11+
1112

1213
![Indicate Errors and Warnings by Implementing IDataErrorInfo](./Images/validation.jpg)
1314

@@ -47,7 +48,8 @@ public class TestClass : IDataErrorInfo {
4748

4849
### Parse Error Content
4950

50-
The error string encodes multiple values (`ErrorType` and `ErrorContent`). A value converter extracts the required part of the string that displays it in the UI:
51+
The error string encodes multiple values (`ErrorType` and `ErrorContent`). A value converter extracts these parts and displays them in the UI:
52+
5153

5254
```csharp
5355
public class ErrorContentConverter : IValueConverter {

0 commit comments

Comments
 (0)