We use prism with RadDocking
In the Shell view we have this region :
We notice that when we navigate to view that have not pane,
the pas injected in the precedent view not removed
Can you give me a solution for this behavior?
In the Shell view we have this region :
<
telerik:RadSplitContainer
InitialPosition
=
"DockedRight"
telerik:ProportionalStackPanel.RelativeSize
=
"200, 10"
>
<
telerik:RadPaneGroup
prism:RegionManager.RegionName
=
"{x:Static inf:RegionNames.RightSidebarRegion}"
/>
</
telerik:RadSplitContainer
>
When we inject this view that has IsPinned="False"
<
Telerik:RadPane
…............…..
IsPinned
=
"False"
>
<
Grid
>
<
TextBlock
Text
=
"some text"
/>
</
Grid
>
</
Telerik:RadPane
>
We notice that when we navigate to view that have not pane,
the pas injected in the precedent view not removed
IRegion sidebarRegion = RegionManager.Regions[RegionNames.RightSidebarRegion];
SideBars.ToList().ForEach(sidebarRegion.Remove);
Can you give me a solution for this behavior?