This question is locked. New answers and comments are not allowed.
I have a group of panes:
One of the panes contains RadTileView with IsVirtualized = True
This the definition:
Templates:Slide is a usercontrol that contains a Canvas. The canvas control is used to load other controls into such as Textboxes and images.
This all works fine as long as i stay on the same pane. But when i go to another Pane and switch back to this Pane, then the canvas control will be empty on all the "slides".
When i turn virtualization off, the canvas will not be empty.
I think this is a bug, i don't see a reason why switching the RadPane should clear the visual collection.
A solution could be to force the TileView to reload the visual items, but i don't find a way to do this?
<telerikDocking:RadDocking.DocumentHost> <telerikDocking:RadSplitContainer Width="Auto" Visibility="Visible"> <telerikDocking:RadPaneGroup x:Name="MainContent"> </telerikDocking:RadPaneGroup> </telerikDocking:RadSplitContainer> </telerikDocking:RadDocking.DocumentHost>One of the panes contains RadTileView with IsVirtualized = True
This the definition:
<telerik:RadTileView.ItemTemplate> <DataTemplate telerik:ContainerBinding.ContainerBindings="{StaticResource bindings}"> <TextBlock Text="{Binding Position}" /> </DataTemplate> </telerik:RadTileView.ItemTemplate> <telerik:RadTileView.ContentTemplate> <DataTemplate> <ScrollViewer Name="scrollViewer1" Grid.Column="1" Grid.Row="1" HorizontalScrollBarVisibility="Auto" VerticalScrollBarVisibility="Auto"> <templates:Slide x:Name="SlideTemplate" SlideObjectSelectionChanged="SlideObjectSelectionChanged" /> </ScrollViewer> </DataTemplate> </telerik:RadTileView.ContentTemplate>Templates:Slide is a usercontrol that contains a Canvas. The canvas control is used to load other controls into such as Textboxes and images.
This all works fine as long as i stay on the same pane. But when i go to another Pane and switch back to this Pane, then the canvas control will be empty on all the "slides".
When i turn virtualization off, the canvas will not be empty.
I think this is a bug, i don't see a reason why switching the RadPane should clear the visual collection.
A solution could be to force the TileView to reload the visual items, but i don't find a way to do this?