<Grid>
<docking:DockSite x:Name="dockSite" DockPanel.Dock="Top" CanDocumentWindowsRaft="True">
<docking:SplitContainer Orientation="Horizontal" HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
<docking:DockingWindow >
<docking:DockSite >
<ContentControl Height="Auto" HorizontalContentAlignment="Stretch" VerticalContentAlignment="Stretch" Width="Auto" prism:RegionManager.RegionName="{x:Static commonConstant:RegionNames.MainContentRegion}" />
</docking:DockSite>
</docking:DockingWindow>
</docking:SplitContainer>
</docking:DockSite>
</Grid>
ContentControl at somepoint we are adding UserControls, and In some cases we need DocumentWindows to get inserted.
Code Follows...
<docking:Workspace>
<docking:TabbedMdiHost>
<docking:TabbedMdiContainer Height="Auto" Width="Auto" prism:RegionManager.RegionName="PerformanceRegion" /> </docking:TabbedMdiHost>
</docking:Workspace>
We are injecting DocumentWindows in this region..
So when they loads that Active Files Button gets visible wen any of the window closes or Floats...
Without ContentControl wen Docksite has direct implementation with Workspace, TabbedMdiHost, TabbedMdiContainer and DocumentWindows, Active Files button is enabled.
Need Suggestion..