Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
235
Location of the "tabs" - configurable?
posted

Hi,

When docking 2 windows together (using the xamDockManager), the window tabs appear on the bottom of the actual windows.

I was wondering if it could be possible to specify another location for them? (left, top, right)

 

Thanks,

Cristian

 

PlantCML

Parents
No Data
Reply
  • 54937
    Verified Answer
    Offline posted

    The TabGroupPane is a derived TabControl and so it does have a TabStripPlacement property that you can use to control the position of the tab items. The only issue is that the TabGroupPanes can be created dynamically as the user drags panes around so you would probably need to put a Style that targets the TabGroupPane into the Resources of the xamDockManager. Note, this local style will take precedence over any Style for that element provided by the Theme property. e.g.

        <igDock:XamDockManager.Resources>
            <Style TargetType="{x:Type igDock:TabGroupPane}">
                <!-- Dockable TabStripPlacement -->
                <Setter Property="TabStripPlacement" Value="Left" />
                <Style.Triggers>
                    <!-- Document TabStripPlacement -->
                    <Trigger Property="igDock:XamDockManager.PaneLocation" Value="Document">
                        <Setter Property="TabStripPlacement" Value="Top" />
                    </Trigger>
                </Style.Triggers>
            </Style>
     
        </igDock:XamDockManager.Resources>

     

Children