How to write text in WPF Combo Box?

I have a requirement in WPF.

I windows, for the ComboBox control there is a property call DropDownStylethat

has 3 states, namely: Normal, Dropdown(default) and Dropdownlist

When the state is the default value (i.e. a drop-down list), the user can enter into it.

How to do the same in a WPF combo box?

Request for help

+3
source share
1 answer

"ComboBox" has the attribute "IsEditable", whose value is true, allows the user to enter text.

<ComboBox IsEditable="True" />
+13
source

Source: https://habr.com/ru/post/1754559/


All Articles