Hi all,
I have a problem with custom headercellstyle and applied theme.
I generate grid columns in runtime, and affect a style on header cell to set tooltip property.
My grid use the metro theme but header are using the default theme (office black). If I comment previous code snippet, header use the metro theme.
What am I doing wrong?
I have a problem with custom headercellstyle and applied theme.
I generate grid columns in runtime, and affect a style on header cell to set tooltip property.
var headerStyle =
new
Style(
typeof
(GridViewHeaderCell));
headerStyle.Setters.Add(
new
Setter(GridViewHeaderCell.ToolTipProperty,
new
Binding(
"HeaderToolTip"
) { Source = columnModel }));
column.HeaderCellStyle = headerStyle;
My grid use the metro theme but header are using the default theme (office black). If I comment previous code snippet, header use the metro theme.
What am I doing wrong?