Hello,
i have a view that has a Listbox like so:
<ScrollViewer x:Name="scroller" ><ListBox x:Name="lstRemarks" ItemsSource="{Binding Remarks}" ItemTemplate="{StaticResource RemarkListItem}" ScrollViewer.HorizontalScrollBarVisibility="Disabled" ScrollViewer.VerticalScrollBarVisibility="Disabled" SelectedIndex="{Binding RemarkSelectedIndex, FallbackValue=-1, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" ItemContainerStyle="{StaticResource ListBoxItemStyleTest1}" /></ScrollViewer>
I am trying to synchronize the "scroll into view" and the selected item,
As in: when an item is selected the scrollviewr should scroll to the selected item so the user can see the item
i working with silverlight 5 using the Mvvm pattern, but at this point i dont even care if the solution brakes the pattern.
thank you
jony