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

ComboBox loosing SelectedItem during DataContext swap in ContentControl #220

Open
deepaksm1 opened this issue Dec 24, 2015 · 0 comments
Open

Comments

@deepaksm1
Copy link

We are maintaining DataContexts in array to use page navigations. We have back button functionality which assigns previous datacontext to ContentControl from DataContexts array. It does not restore selected item for combobox control. I think this is same issue as per Issue#219. SelectedItem property of ComboBox won't be able to find the assigned property value, During the DataContext swap.

<ComboBox ItemsSource="{Binding Path=StatesResult}" SelectedItem="{Binding Path=SelectedState, Mode=TwoWay}" />

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant