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
120
Metro Style And Header Cell Colorings
posted

We recently switched over to using the Metro theme and have been encountering an issue with the cell headers. We've created styles for the target type of column and row headers, based them on the original, and then set our own foreground and background. It was working fine until we switched to Metro, but now the "Total" word in the headers of the total rows/columns is no longer changing its foreground. Does the Metro theme need its own unique code different then what is shown in the examples to style its headers?

Parents
  • 2180
    Verified Answer
    Offline posted

    Hi Ryan,

    This is an issue in the theme and we will submit it in our internal system and create a customer case for you. Until you get the fix, you can easily fix it in the theme locally. You have to find a TextBlock in the theme with name TotalText and change its foreground from:

    Foreground="{StaticResource ForegroundBrush}"

    to:

    Foreground="{TemplateBinding Foreground}"

    Hope this helps!

    Thanks,

    Diyan Dimitrov

Reply Children