I want the datagrid header to be like the one shown in the image
ie 1. There is no column seperator line between
Make the Border's Thickness of DataGrid's Header...
<DataGrid.HeaderStyle>
<Style TargetType="{x:Type DataGridColumnHeader}" >
<Setter Property="BorderThickness" Value="0" />
</Style>
</DataGrid.HeaderStyle>
请看这里: https : //stackoverflow.com/a/4487292/376086第一条评论说,没有分隔线。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.