Hi,
I need to show different tiles with different header background colors, depending on some data in the item. Can you tell me how this can be done.
To explain further: I have a collection of items that contain a property, based on which I need to set the Header color. This list is bound to the TileView using the ItemSource.
I am using the Item Template (& embedded DataTemplate) to bind the header information (Name of the item).
I also need to change the background color of the tile's header based on a secondary property, i.e. ItemValue. I have a ValueConverter setup that will give me the color for the ItemValue.
How do I get this setup to the Header BackGround?
Thanks in advance.
Regards,
Ivan.
I need to show different tiles with different header background colors, depending on some data in the item. Can you tell me how this can be done.
To explain further: I have a collection of items that contain a property, based on which I need to set the Header color. This list is bound to the TileView using the ItemSource.
I am using the Item Template (& embedded DataTemplate) to bind the header information (Name of the item).
I also need to change the background color of the tile's header based on a secondary property, i.e. ItemValue. I have a ValueConverter setup that will give me the color for the ItemValue.
How do I get this setup to the Header BackGround?
Thanks in advance.
Regards,
Ivan.