开发者

How can we write text into the WPF Combo Box?

I have a requirement in WPF.

I windows forms, for the ComboBox control, there is a property call DropDownStyle which

has 3 states viz. Normal, Dropdown(default) and Dropdownlist

When the state is the default one(i.e. Dropdown), the user can开发者_开发百科 type into that.

How to do the same stuff in the WPF combo box?.

Kindly help


'ComboBox' has an attribute 'IsEditable', setting the value of this to true will allow the user to enter text.

<ComboBox IsEditable="True" />
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜