Silverlight 3 Combobox Rollover Behaviour
I have a combo box on a form and when I rollover the combo box with my mouse, the OnMouseOver event causes a graident 开发者_StackOverflow中文版view to appear. How would I go about ensuring that it doesn't do that. What I want is for the combo box to remain white.
What you need to do is create a new Template for your ComboBox. This is easiest to do in Blend; right click on the control and choose to edit a copy of the template.
You will want to remove the animations from the MouseOver VisualState.
精彩评论