This is a migrated thread and some comments may be shown as answers.

Back to theme color

0 Answers 44 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Josh King
Top achievements
Rank 2
Josh King asked on 30 Nov 2010, 10:43 PM
I'm changing the Background of a ListBoxItem on the MouseOver event.  I would like to have it go back to it's pretty themed color visual state, but am not sure how to do that.  I'm setting the theme on the ListBox.  telerik:StyleManager.Theme="Summer" 

Thanks


Update:  I just found the answer.  Simply change the VisualState of the theme to MouseOver, and the back to Normal.  VisualStateManager.GoToState(myobject, "MouseOver", true);

No answers yet. Maybe you can help?

Tags
General Discussions
Asked by
Josh King
Top achievements
Rank 2
Share this question
or