开发者

Silverlight combobox acting like menu

开发者 https://www.devze.com 2023-04-01 05:48 出处:网络
I want to modify silverlight combobox behavior. I want to open dropdown by mouse entering to combobox but not clicking, that iseasy to d开发者_如何学运维o when handling MouseEnter event and seting IsD

I want to modify silverlight combobox behavior. I want to open dropdown by mouse entering to combobox but not clicking, that iseasy to d开发者_如何学运维o when handling MouseEnter event and seting IsDropDownOpen property to true. But the issue is how to close dropdown when mouse leaves dropdown area and combo itself. Any suggestions. Thanks.


My suggestion is that you use Expander from Silverlight Toolkit with ItemsControl

Video: http://www.silverlight.net/learn/creating-ui/control-basics/silverlight-toolkit-creating-a-toolkit-expander

0

精彩评论

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