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
65
Changing the style of the TileHeader
posted

Hi,

I'm trying to change the style of the Header of all Tiles in code-behind. I've come across the TileHeaderPresenter class, but I don't know to which property of the xamTilesControl I should assign that object? 

 

Kind regards,
Stijn 

Parents
  • 4850
    Suggested Answer
    Offline posted

    Hi Stijn,

    If you want the style to apply to all tiles and you are creating it in code then you can insert it into the XamTilesControl's Resources dictionary keyed by the type TileHeaderPresenter. It should get picked up for all tiles.

    If you want to target a specify tile you could insert it into the Resources of that specific tile again keyed by the type TileHeaderPresenter.

     

     

Reply Children