WPF: ComboBox without dropdown button?

It's possible, but you would need to retemplate it to achieve perfection. You can get most of the way there by overriding a system parameter as follows.

All WPF controls are "lookless," so you can completely redefine their appearance. However, it's not simple and even less so for ComboBox. ComboBox uses one of two templates, depending on whether it's editable.

The non-editable version uses the ToggleButton for the control appearance, so you can just remove the arrow drawing (see below). The editable version uses a TextBox and a ToggleButton, and if you have no ToggleButton, it doesn't open. So here's a template without the ToggleButton; it's up to you to add the code to handle clicks on the editable template.

(Or if you don't need to edit, you can just coerce IsEditable to false and be done with it.).

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions