简体   繁体   English

Datagrid标题背景wpf

[英]Datagrid Header background wpf

I want the datagrid header to be like the one shown in the image 我希望datagrid标题与图像中显示的标题类似 在此输入图像描述

ie 1. There is no column seperator line between 即1.之间没有列分隔线

Make the Border's Thickness of DataGrid's Header... 使边框的DataGrid标题厚度...

<DataGrid.HeaderStyle>
    <Style TargetType="{x:Type DataGridColumnHeader}" > 
         <Setter Property="BorderThickness" Value="0" />
    </Style>
</DataGrid.HeaderStyle>

请看这里: https//stackoverflow.com/a/4487292/376086第一条评论说,没有分隔线。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM