Hitesh
Hitesh

Reputation: 1228

Style in HeaderColumn in Datagrid

Please see this following image of my datagird.

enter image description here Now want a border in headerColumn. I have tried columnheader style but it did not work for me. I want following style of header of datagrid.Please see the following image. enter image description here How can i achieve this style in datagird. Thanks

Upvotes: 0

Views: 348

Answers (1)

Jaderson Linhares
Jaderson Linhares

Reputation: 89

You have to change the DataGrid template, not columnheader. In the default DataGrid template there is:

<sdk:DataGridColumnHeadersPresenter x:Name="ColumnHeadersPresenter" Grid.Column="1"/>

I think you have to edit over there.

Upvotes: 2

Related Questions