MaterialDesignInXAML / MaterialDesignInXamlToolkit

Google's Material Design in XAML & WPF, for C# & VB.Net.
http://materialdesigninxaml.net
MIT License
15.02k stars 3.41k forks source link

Add documentation for combobox #1177

Open Keboo opened 5 years ago

Keboo commented 5 years ago

There are several additional features provided by the combo box that are not that easy to discover and should be documented.

Keboo commented 5 years ago

Related #1171

kevinmbuthi commented 5 years ago

I agree, making a PR soon.

Pressacco commented 3 years ago

Let me begin by saying that I am really impressed with this library. Thank you to all of those who contributed to the project!


It would be helpful if the documentation provided some guidance on how to implement the WPF default behavior for an editable ComboBox:

  1. DO NOT display list of items when ComboBox is clicked.
    • The user can simply click the combo box and start typing without having the dropdown obstructing the UI.
  2. DO display list of items when ComboBox arrow is clicked.
    • When the user wants to see the list of options, they can explicitly request to see them by clicking the combo box arrow.

I am still relatively new to WPF, and the solution has escaped me.

Additional Context

It appears that the MaterialDesignInXaml default behavior for a IsEditable="True" ComboBox is to:

Alex-451 commented 1 year ago

@Keboo I added a page for ComboBox Note that I did not have to create a pr (Is everyone supposed to be able to just add/edit pages without anyone actually approving the changes?)

Keboo commented 1 year ago

@Alex-451 yes, the wiki is just a special git repo within GitHub. I do keep an eye on the changes that people make to it and undo changes when needed, but most of the time when people make changes it is making things better, so I have left it open to all edits. I have looked over your changes and they look great to me.

Keboo commented 1 year ago

If you are looking to get PR credit for hacktoberfest, feel free to submit a small PR to this file adding a wiki link to the new page. You can see an example of suck a link here