Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1830
Style Summary As Header
posted

I've added a summary record to one of my grids, binding the background to the convenient HeaderAreaBackground property, and although the text is only white, I'd like a way to bind the foreground as well.  Is there a better way without replicating the themed header styling (Onyx) I'm using?


<Style TargetType="igDP:SummaryRecordPresenter">

    <Setter Property="Background" Value="{Binding HeaderAreaBackground, RelativeSource={RelativeSource Self}}"/>

    <Setter Property="Foreground" Value="#fff"/>

</Style>