How to customize the tab header height in .NET MAUI Tab View?
To customize the tab header height in a .NET MAUI Tab View, you can use the TabBarHeight property. The default value of this property is 48d
.
XAML
<tabView:SfTabView x:Name="tabView" TabBarHeight="80" TabBarBackground="#FDF8F6">
<tabView:SfTabView.Items>
<tabView:SfTabItem Header="Calls">
<!-- Add content here -->
</tabView:SfTabItem>
<tabView:SfTabItem Header="Favorites">
<!-- Add content here -->
</tabView:SfTabItem>
<tabView:SfTabItem Header="Contacts">
<!-- Add content here -->
</tabView:SfTabItem>
</tabView:SfTabView.Items>
</tabView:SfTabView>
Output
Conclusion
I hope you enjoyed learning how to customize the tab header height in .NET MAUI Tab View (SfTabView).
You can refer to our .NET MAUI Tab View feature tour page to learn about its other groundbreaking feature representations. You can explore our .NET MAUI Tab View documentation to understand how to present and manipulate data.
You can check out our .NET MAUI components from the License and Downloads page for current customers. If you are new to Syncfusion®, try our 30-day free trial to check out our .NET MAUI Tab View and other .NET MAUI components.
Please let us know in the comments section if you have any queries or require clarification. You can also contact us through our support forums, Direct-Trac, or feedback portal. We are always happy to assist you!