-
-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature]: MultiSelect ComboBox #70
Comments
Sounds like a great control to have. The mock-ups show it as a window, but I think we can implement this as a separate control (without the buttons) so it can be used anywhere? Pinging @ceo1647 / @mkhomutov , in case you are interested in helping out with the development as well. |
My apologies if the mock ups make it seem like it’s a window. It is actually not a window. The button row is part of the listbox drop down. The design is intentional to prevent closure of the dropdown upon checking an item or moving off focus by requiring the user to click OK to commit changes or Cancel to roll back. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Purpose
To introduce a new control to Orc's Control Ecosystem called a MultiSelect ComboBox. As shown below it can be either one of these variations (or both).
Feature description
The premise of this feature is to introduce the supported concept of multiple item selection to a ComboBox. This would allow the implementer to leverage support for multi-value collections (such as a collection of strings, integers and so forth) in an easy to use form.
At a high-level the API for the control would have the following exposed properties:
DisplayMemberPath
andSelectedValueMemberPath
are leveraged properties for when the underlyingItemsSource
type is of eitherIDictionary<TKey, TValue>
orIEnumerable<KeyValuePair<TKey, TValue>>
or a collection composing of business objects rather than primitive types.Conjecture
If
DisplayMemberPath
is not defined then theToString()
method of the underlying type is called.If
SelectValueMemberPath
is not defined, then the underlying type is used.Final Notes
This is all preliminary and it is possible that feature development may be accelerated using some of the foundation of the ColorLegend control. I am willing to take ownership of this feature development once my time allows. The request for the feature is not due to a needed business requirement but rather a desire to contribute to the library.
The text was updated successfully, but these errors were encountered: