We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

How to set the Background color of Header and disable TabStrip Button in TabNavigation Control

This article describes how to set the Background color of Header and disable TabStrip Button in TabNavigation Control.

Use TabNavigationControl style to set the background color of Header and disable TabStrip Button in TabNavigation Control.

Background color of Header can be set by Border Background and disable the Tab Strip Button by setting IsHitTestVisible property to false in TabNavigation Control Template.

The following code example demonstrates the same.

XAML

 

The output for the above code is shown below:

 

 

Article ID: Published Date: Last Revised Date: Platform: Control:
7532 03/01/2017 03/01/2017 WPF TabNavigationControl
Did you find this information helpful?
Add Comment
You must log in to leave a comment

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.