MaterialDesignInXAML / MaterialDesignInXAML/MaterialDesignInXamlToolkit
INotifyDataErrorInfo Error Message is overflowing the TextBox inside a DataGrid
Nadie ha tomado este issue todavía.
- Lenguaje dominante
- C#
- Estrellas
- 16.3k
- Forks
- 3.5k
- Merge medio
- 1 d 22 h
- PR fusionados (30 d)
- 8
Descripción
Bug explanation
Is anyone here having the same problem when using INotifyDataErrorInfo where the Error Message of the TextBox is overflowing? No issue when using ValidationRules at all.
I have a DataGrid with 100 items, each item has a TextBox. In my ViewModel, I implemented the INotifyDataErrorInfo. For some reason, if all of the Error Message is shown below the TextBox, some of them are overflowing. I tried using ValidationRules but everything is fine, the problem occurs only when using INotifyDataErrorInfo.
Here is an example of the issue when all of the error is being shown.
Could this be an issue with the DataGrid? The first 20 items are showing the error message in the correct position, but after that until the end of the items is not.
UPDATE: I tried to input the correct entry in the TextBox, then remove the text by clicking the clear icon of the TextBox. After that, the position of the Error Message is corrected, but then I tried to scroll and the problem occur again.
-
I tried typing some text.
-
Then cleared the text by clicking the
clearicon. (Noticed that the position of the error message is corrected)
-
Retype some text. (Everything is fine as of now)
-
I tried to scroll, going down. (Problem occurred again)
-
Then scroll again, going up. (Still the same problem)
Version
using version 4.5.0
Guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Línea de trabajo
Comienza reproduciendo el problema en un WPF DataGrid con 100 elementos TextBox, validación mediante INotifyDataErrorInfo y la versión 4.5.0 indicada de MaterialDesignInXamlToolkit. Compara el comportamiento con ValidationRules, el borrado del texto y el desplazamiento. Se considera terminado cuando los mensajes de validación permanecen correctamente posicionados para todas las filas durante la edición y el desplazamiento.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- csharp
- Área
- desktop
- Tipo de issue
- Error
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Estancado
- Claridad
- Necesita aclaración
- Aptitud para principiantes
- 25/100