Datagrid : Expanding a column after a total row deletion crashs the Datagrid #9205
Labels
area-DataGrid
DataGrid control
area-External
Not owned by the WinUI team, not actionable in this repository.
bug
Something isn't working
team-Controls
Issue for the Controls team
Describe the bug
DataGrid_VisualCrash SIMPLE.zip
A. After a total deletion of all the rows present in Datagrid, the column resizing crash on visual.cs
Complementary/Very similars bugs :
B. After 50 element added then all deleted, it crash on visual.cs
C. (Same project) A scrollviewer Visible without any row in the Datagrid trigger a crash on visual.cs
Steps to reproduce the bug
A. Column resize bug
B. 50 elements total deletion bug
C. Scrollviewer visibility bug
Expected behavior
No crash
Screenshots
DataGrid_VisualCrash SIMPLE.zip
NuGet package version
None
Windows version
Windows 11 (22H2): Build 22621
Additional context
.NET concerned : .NET Framework 4.7.2 and .NET 7
This issue is reported because of a more problematic issue which is happening on datagrid on a more complex C# Solution : when the datagrid is displayed, after 2 total deletion of the rows, the same crash appears. So I'm trying to isolate any crash source.
DataGrid_VisualCrash SIMPLE.zip
The text was updated successfully, but these errors were encountered: