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>
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.
Hello Andrew,
You lost me there. Maybe there was some misunderstanding. I do not want to hide the ContentPane or the Content of the ContentPane. The above example was a minimal reproducible example to demonstrate the issue.
The ContentPanes are certainly navigable via the SelectedIndex binding:
<igDock:TabGroupPane SelectedIndex="{Binding Path=AppSer.SelectedIndex}" >
I just want the TabHeader removed or the empty space when the TabHeader is set to NULL.
.