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 SelectedItem property #19

Open
mgierlasinski opened this issue Dec 22, 2020 · 2 comments
Open

Add SelectedItem property #19

mgierlasinski opened this issue Dec 22, 2020 · 2 comments
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@mgierlasinski
Copy link

For few items TabHostView can be used as an alternative to Picker with it's ItemsSource property. Unlike Picker it doesn't have SelectedItem property so we must bind SelectedIndex, take that index and look into the list to retrieve actual Item. For many properties in VM it can produce a lot of boilerplate code.

To make it consistent with other controls containing ItemsSource, it would be nice to have SelectedItem which may be usefull when we bind tabs to list.

@roubachof
Copy link
Owner

Good idea.

@roubachof roubachof added the enhancement New feature or request label Jan 18, 2021
@roubachof roubachof added good first issue Good for newcomers help wanted Extra attention is needed labels Feb 5, 2021
@roubachof
Copy link
Owner

Linked to #14

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants