Hi Brian,
Thanks for the suggestion. Currently I think using RequestNavigate also this problem will arise. But I would have to try.
Currently I have implemented one workaround.
The ChildView is implementing IActiveAware and IPartImportsSatisfiedNotification. IsActive Property is bound to IsSelectedItem of Listbox Region
Regards,
Sharda.
Thanks for the suggestion. Currently I think using RequestNavigate also this problem will arise. But I would have to try.
Currently I have implemented one workaround.
The ChildView is implementing IActiveAware and IPartImportsSatisfiedNotification. IsActive Property is bound to IsSelectedItem of Listbox Region
<Style x:Key="RegionListItemContainerStyle" TargetType="{x:Type ListBoxItem}">
<Setter Property="IsSelected" Value="{Binding IsActive, Mode=TwoWay, NotifyOnSourceUpdated=True}"/>
On ImportSatisfy event in the child view, I am setting IsActive to true, which will update the ListboxItem IsSelected property and hence on UI we see that item is selected.Regards,
Sharda.