2010-12-20 5 views

답변

9

DataGridColumnHeader에 BorderBrush 및 BorderThickness를 지정할 수 있습니다. 예

<DataGrid.Resources> 
    <Style TargetType="{x:Type DataGridColumnHeader}"> 
     <Setter Property="Background" Value="Blue"/> 
     <Setter Property="BorderBrush" Value="Red"/> 
     <Setter Property="BorderThickness" Value="1,1,1,1"/> 
    </Style> 
</DataGrid.Resources> 
관련 문제