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
1280
XamDockManager ContentPane TabHeader occupies space
posted

Hello Infragistics,


In the past (Version 17 and 18), when a ContentPane was created with TabHeader="{x:Null}" the TabHeader would not occupy any space.

In version 22.2.20222.19, the following code occupies unnessary space, how can I totally remove the TabHeader ?

<igDock:XamDockManager VerticalAlignment="Stretch" HorizontalAlignment="Stretch" >
<igDock:SplitPane>
    <igDock:TabGroupPane  SelectedIndex="{Binding Path=AppSer.SelectedIndex}" >
            <igDock:ContentPane Header="Test 1" TabHeader="Test 1"/>
            <igDock:ContentPane Header="{x:Null}" TabHeader="{x:Null}"/>
            <igDock:ContentPane Header="Test 3" TabHeader="Test 3"/>
            <igDock:ContentPane Header="Test 4" TabHeader="Test 4"/>
        </igDock:TabGroupPane>
</igDock:SplitPane>
</igDock:XamDockManager>

Parents
  • 34830
    Offline posted

    Hello Nawed,

    My best recommendation in this case to get the null tab header to not show up is to set the Visibility property on the ContentPane to “Collapsed” or perhaps remove it entirely from the XAML markup of the XamDockManager, as if it does not have a tab header, it would not be navigable by the user while in that TabGroupPane.

    Please let me know if you have any other questions or concerns on this matter.

Reply Children