Hi David,
Thank you for your interests in Syncfusion products.
You can achieve your requirement by using the below code snippet,
[c#]
private void Hide_Click(object sender, RoutedEventArgs e)
{
foreach (FrameworkElement element in Docking.Children)
{
if (DockingManager.GetState(element) == DockState.Document)
{
DockingManager.SetState(element, DockState.Hidden);
}
}
}
private void Show_Click(object sender, RoutedEventArgs e)
{
foreach (FrameworkElement element in Docking.Children)
{
if (DockingManager.GetState(element) == DockState.Hidden)
{
DockingManager.SetState(element, DockState.Document);
}
}
}
I have attached the sample as per your requirements in the following link. Please run the sample and let us know if it helps you.
[sample link]
http://www.syncfusion.com/downloads/Support/DirectTrac/109354/HideTabs1867178630.zip
Please let us know if you have any concerns.
Regards,
Berkunath A
HideTabs_adf4c945.zip