Articles in this section
Category / Section

How to hide Header in TabControlExt having single child?

1 min read

You can hide or unhide the Tab Item Header in WPF TabControl by setting the HideHeaderOnSingleChild property as true or false respectively.

XAML

<syncfusion:TabControlExt Name="tabcontolext" HideHeaderOnSingleChild="True" >
    <syncfusion:TabItemExt Name="tabitem1" Header="TabItem1">
             <TextBlock FontSize="18" FontWeight="Bold">Hide Header On Single Child</TextBlock>
     </syncfusion:TabItemExt>
</syncfusion:TabControlExt>

C#

tabcontolext.HideHeaderOnSingleChild = true;

Assigning the HideHeaderOnSingleChild property as false.

Figure 1: HideHeaderOnSingleChild property as false

Assigning HideHeaderOnSingleChild property as true.

Figure 2: HideHeaderOnSingleChild property as true


Conclusion

I hope you enjoyed learning about how to hide Header in TabControlExt having single child.

You can refer to our WPF Tab Control feature tour page to know about its other groundbreaking feature representations. You can also explore our WPF Tab Control to understand how to present and manipulate data.

For current customers, you can check out our WPF Controls from the License and Downloads page. If you are new to Syncfusion, you can try our 30-day free trial to check out our WPF Tab Control and other WPF controls.

If you have any queries or require clarifications, please let us know in comments below. You can also contact us through our support forumsDirect-Trac, or feedback portal. We are always happy to assist you!


Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please sign in to leave a comment
Access denied
Access denied