开发者

Clean method of providing blank first value in Silverlight Combobox?

开发者 https://www.devze.com 2023-01-17 21:54 出处:网络
I\'ve got a combobox in silverlight that is bound to a list of objects in XAML coming from RIA servcies.Is there a开发者_JS百科 clean method to add a blank value for the first item so that users have

I've got a combobox in silverlight that is bound to a list of objects in XAML coming from RIA servcies. Is there a开发者_JS百科 clean method to add a blank value for the first item so that users have to click the dropdown in order to select something? Right now, it just displays the first item, even if the selected index is set to -1.

0

精彩评论

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