You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Readme.md
+41-1Lines changed: 41 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ This example validates the input field and displays error indicators in DevExpre
11
11
12
12
Users can see visual indicators (error, warning, information) directly in the editor. Each indicator includes a descriptive message that helps users quickly fix input mistakes.
13
13
14
-
GIF
14
+

15
15
16
16
## Implementation Details
17
17
@@ -76,6 +76,46 @@ public class ErrorContentConverter : IValueConverter {
76
76
}
77
77
```
78
78
79
+
### Apply Two Converter Modes
80
+
81
+
The converter works in **Type** and **Content** modes. You can extract the `ErrorType` or the `ErrorContent` from the `IDataErrorInfo.Error` string:
82
+
83
+
***Type** mode drives an implicit `ErrorControl` style that picks the appropriate icon (Critical/Warning/Information).
84
+
***Content** mode feeds a custom tooltip that displays the error message next to the editor.
0 commit comments