WPF ComboBox… как установить свойство .Text?

Я не совсем уверен, что Python 2.7 больше поддерживается, это строгое требование для вас? Если нет, я предлагаю обновить до Python 3.7. Python 2.7 больше не будет поддерживаться к концу года: https://pythonclock.org/

8
задан Naser Asadi 8 June 2014 в 23:54
поделиться

1 ответ

If you're trying to set the text to the text of one of the items in the list it should work correctly.

If you're trying to set it to an item that isn't in the list then the IsEditable property needs to be true. You can set the IsReadOnly property to true if you don't actually want users typing into the combo box.

If none of these cases fit you, can you post the code you're using?

26
ответ дан 3 November 2019 в 14:38
поделиться
Другие вопросы по тегам:

Похожие вопросы: