I was wondering if there is a way to change all RadPanorama tile Backcolors at once instead of going through each tile individually.
3 Answers, 1 is accepted
0
Accepted
Stefan
Telerik team
answered on 16 Jul 2013, 01:04 PM
Hi Derek,
Thank you for writing.
You can do that by iterating the tiles in the control and setting their BackColor. Here is how to do that:
//grouped
foreach (TileGroupElement group in radPanorama1.Groups)
{
foreach (RadTileElement tile in group.Items)
{
tile.BackColor = Color.Red;
}
}
//ungrouped
foreach (RadTileElement tile in radPanorama1.Items)
{
tile.BackColor = Color.Red;
}
I hope this helps.
Regards,
Stefan
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WINFORMS.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely. Sign up for Free application insights >>