Hi,
I understand that I can change the GridViewHeaderCell foreground color by setting this,
However, if I have already had a default TextBlock style like this,
This style's foreground color, in this case, the 'Green' will overwrite the GridViewHeaderCell's foreground color White.
I am not sure if this is a bug or I have missed something.
Please advise and thanks in advance!
Justin
I understand that I can change the GridViewHeaderCell foreground color by setting this,
<
Style
TargetType
=
"telerik:GridViewHeaderCell"
>
<
Setter
Property
=
"Background"
Value
=
"DarkBlue"
/>
<
Setter
Property
=
"Foreground"
Value
=
"White"
/>
<
Setter
Property
=
"FontWeight"
Value
=
"Bold"
/>
<
Setter
Property
=
"FontSize"
Value
=
"14"
/>
</
Style
>
However, if I have already had a default TextBlock style like this,
<
Style
TargetType
=
"TextBlock"
>
<
Setter
Property
=
"Foreground"
Value
=
"Green"
/>
</
Style
>
This style's foreground color, in this case, the 'Green' will overwrite the GridViewHeaderCell's foreground color White.
I am not sure if this is a bug or I have missed something.
Please advise and thanks in advance!
Justin