开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜