Hi Deepak Agarwal,
What Tomasz suggested is the right approach at the moment. We have added in our to-do list a feature allowing easier customization of the TileViewItems
header and you can vote for it here
thus increasing its priority.
For now in order to change the header background in runtime, it is best to modify the default ControlTemplate
of the RadTileViewItem
following the approach described here
. Then you can set the RadTileViewItem Template
property in runtime. If there is no Template
defined for an item, the default ControlTemplate
will be applied.
As for the Foreground
property, it is best to control the Foreground
of the TextBlock
defined inside the Header
of the tile. You can access it through the TileViewItem Header
property like so: (ConfirmedAppointmentsSeries.Header as TextBlock).Foreground
Also, if you need to change the maximize/minimize button, you can edit the MaximizeToggleButton
element defined in the RadTileViewItem ControlTemplate
I prepared a sample project to get you started. I hope it helps. Still, please let us know if you need more info.
the Telerik team
Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>