I cannot see any documentation or examples of how to scroll into a view items in a RadPanelBar. Are you able to provide an example of how to do this?
I've found a way to auto expand an item using <Setter Property="IsExpanded" Value="{Binding IsExpanded}" /> but this can expand an item which is still not visible and needs to be manually scrolled to. The IsSelected is similar but just seems to highlight that item and not scroll into view.
How can I auto scroll an item in the RadPanelBar into view using MVVM? Typically there may be approx 200 items but only 10 can be seen in view at any one time.
Code:
<telerik:RadPanelBar x:Name="radPanelBar1" Grid.Row="1" Width="500"
HorizontalAlignment="Left" VerticalAlignment="Top"
ItemTemplate="{StaticResource PanelBarHeaderTemplate}"
ItemsSource="{Binding PanelBar1Items}"
ExpandMode="Multiple">
<telerik:RadPanelBar.ItemContainerStyle>
<Style TargetType="telerik:RadPanelBarItem" BasedOn="{StaticResource RadPanelBarItemStyle}">
<Setter Property="IsExpanded" Value="{Binding IsExpanded}" />
</Style>
</telerik:RadPanelBar.ItemContainerStyle>
</telerik:RadPanelBar>