This question is locked. New answers and comments are not allowed.
Hi,
I have DataBoundListBox template with some image and text.
When I select item, I navigating to another page.
When I navigating back, I want to change image on selected item.
I see two ways:
- navigate back => reload itemssource (there are checking of which image must be bind on item) => focus on edited item.
- navigate back => change image on item (without itemssource reloading) and focus on it.
But I have a question for the first solution: how can I focus on edited item? Default ListBox returns to the previous state after reloading, but DataBoundListBos doesn't do it.
And for the second solution: how can I change image source (or other content) on existing item withoud ItemsSource reloading?
Sorry for my poor english.
Thanks
I have DataBoundListBox template with some image and text.
When I select item, I navigating to another page.
When I navigating back, I want to change image on selected item.
I see two ways:
- navigate back => reload itemssource (there are checking of which image must be bind on item) => focus on edited item.
- navigate back => change image on item (without itemssource reloading) and focus on it.
But I have a question for the first solution: how can I focus on edited item? Default ListBox returns to the previous state after reloading, but DataBoundListBos doesn't do it.
And for the second solution: how can I change image source (or other content) on existing item withoud ItemsSource reloading?
Sorry for my poor english.
Thanks