Skip to content
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

Add combo box and list box controls #12

Merged
merged 2 commits into from
Mar 11, 2024
Merged

Add combo box and list box controls #12

merged 2 commits into from
Mar 11, 2024

Conversation

glopesdev
Copy link
Member

@glopesdev glopesdev commented Mar 11, 2024

This PR adds support for the ComboBox and ListBox controls, allowing to select items from a collection using either a list or a drop-down. Each of the controls comes in two flavors:

  • Static collection: in this case, the items are a collection of strings which can be edited in the properties, useful for rapid prototyping and simple applications;
  • Dynamic data source: in this case, the items in either the combo box or list box are specified from a dynamic sequence of collections of arbitrary objects, with an optional DisplayMember.

In both flavors, notifications are sent whenever the currently selected item changes. Dynamic data sources can be used to allow selection between complex domain objects, e.g. dynamically created observable sequences with a labeled key.

@glopesdev glopesdev added the feature New planned feature label Mar 11, 2024
@glopesdev glopesdev added this to the 0.1.0 milestone Mar 11, 2024
@glopesdev glopesdev merged commit 54c9b26 into main Mar 11, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New planned feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant