Setting DataGridRowHeader's Witdh Property to "Auto" could be more common

May 18, 2013 at 2:54 AM
Referring to DataGrid.Xaml, DataGridRowHeader's Width is set to a certain value "16":
<Style x:Key="{x:Type DataGridRowHeader}" TargetType="{x:Type DataGridRowHeader}">
    <Setter Property="Background" Value="{DynamicResource DataGridHeaderBackground}" />
    <Setter Property="Foreground" Value="{DynamicResource DataGridHeaderForeground}" />
    <Setter Property="BorderBrush" Value="{DynamicResource DataGridGridLines}" />
    <Setter Property="BorderThickness" Value="0,0,0,1" />
    <Setter Property="Width" Value="16"/>
I think Value "Auto" may be more common for different usages.
Coordinator
May 20, 2013 at 2:23 PM
agree, MinWidth=16 would be more appropiate