Hello @all,
our problem is the RadTreeView always jumping to the top when wrapped like in the xaml below. It took a long time to find out, but in this way I was able to reproduce it. We disabled the ScrollViewer of the RadPanelBar so we can scroll to certain items in the TreeView in the original context.
Expand the RadPanelBarItem, scroll down, select an item there. Move the GridSplitter or just resize the window and the RadTreeView's ScrollViewer jumps back to the top.
Change the RadTreeView and its items to the standard WPF TreeView and items and it stays scrolled where it is. Unfortunately we would be missing certain features of the RadTreeView we would like to use.
Any ideas how we could fix this?
Kind regards,
M. Lohmann.
our problem is the RadTreeView always jumping to the top when wrapped like in the xaml below. It took a long time to find out, but in this way I was able to reproduce it. We disabled the ScrollViewer of the RadPanelBar so we can scroll to certain items in the TreeView in the original context.
Expand the RadPanelBarItem, scroll down, select an item there. Move the GridSplitter or just resize the window and the RadTreeView's ScrollViewer jumps back to the top.
Change the RadTreeView and its items to the standard WPF TreeView and items and it stays scrolled where it is. Unfortunately we would be missing certain features of the RadTreeView we would like to use.
<Grid> <Grid.ColumnDefinitions> <ColumnDefinition Width="*" /> <ColumnDefinition Width="*" /> </Grid.ColumnDefinitions> <Controls:RadPanelBar ScrollViewer.HorizontalScrollBarVisibility="Disabled" ScrollViewer.VerticalScrollBarVisibility="Disabled"> <Controls:RadPanelBarItem> <Controls:RadTreeView Grid.Column="0" HorizontalAlignment="Stretch" Animation:AnimationManager.IsAnimationEnabled="False"> <Controls:RadTreeViewItem Header="1"> <Controls:RadTreeViewItem Header="2" /> <Controls:RadTreeViewItem Header="2" /> <!-- Insert items until the vertical scroll bar can scroll down --> </Controls:RadTreeViewItem> </Controls:RadTreeView> </Controls:RadPanelBarItem> </Controls:RadPanelBar> <GridSplitter Grid.Column="0" Width="3" HorizontalAlignment="Right" /> <Button Grid.Column="1">Test</Button> </Grid> Any ideas how we could fix this?
Kind regards,
M. Lohmann.