Relative Column Widths Not Working When DataGrid is Nested Inside A Grouped DataGrid
问题 Suppose I have an object with 6 attributes: public class MyClass { public string Attribute1 { get; set; } public string Attribute2 { get; set; } public string Attribute3 { get; set; } public string Attribute4 { get; set; } public string Attribute5 { get; set; } public string Attribute6 { get; set; } } I display a collection of these objects in a DataGrid: <Grid> <DataGrid x:Name="myGrid" Margin="5, 5, 5, 5" AutoGenerateColumns="False" CanUserAddRows="False" IsReadOnly="True"> <DataGrid