I am trying to update themes in a WPF application at run time. The application is using the no XAML dlls. The theme is being updated by replacing the resource dictionaries according to Theme change instructions.
When the resource dictionaries are replaced the theme updates for the entire application but all the tabs in the dock disappear. New tab can be added to the Items Observable collection and they will appear in the dock.
<telerik:RadDocking x:Name="Dock"
AllowDragReorder="True"
PanesSource="{Binding Items, UpdateSourceTrigger=PropertyChanged}"
CloseButtonPosition="InPane">
<telerik:RadDocking.DockingPanesFactory >
<telerik:DockingPanesFactory />
</telerik:RadDocking.DockingPanesFactory>
</telerik:RadDocking>