I want to color each line of button with different color based on some condition.How can i achieve this.
For example: say button width is 24,considering each line of button as 1 hour.If i want color first hour with red,3rd hour with orange how can i achieve this.
1 Answer, 1 is accepted
0
Accepted
Tina Stancheva
Telerik team
answered on 25 Feb 2011, 10:25 AM
Hi soni,
In order to implement such scenario with the RadButtons, you will need to create 24 different background brushes - one for each hour. Then you can change the Background property accordingly to your conditions. For example:
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!