This is a migrated thread and some comments may be shown as answers.

Bold the Selected Tab Header Text

3 Answers 33 Views
TabControl
This is a migrated thread and some comments may be shown as answers.
Stuart Cotts
Top achievements
Rank 1
Stuart Cotts asked on 13 Jan 2021, 05:01 AM
I feel silly for asking as I should know how to do this. I am using the Fluent theme and want to bold the Header Text of the Selected Tab. It is possible we will change themes, Is that something simply done?

3 Answers, 1 is accepted

Sort by
0
Dinko
Telerik team
answered on 15 Jan 2021, 02:06 PM

Hi Stuart,

Thank you for your interest in our RadTabControl for WPF.

There is no out-of-the-box way to customize the selected style of the RadTabItem. To do that, you will need to extract and edit the default template of the RadTabItem. The RadTabItem has separate Border elements in its ControlTemplate responsible for visualizing its selection states (named "SelectionVisual"). You can extract and modify the Fluent theme template and change the Backgrounds of those Border elements. Now, as you have a dynamic theme change, you will need to extract the template of the RadTabItem for every theme. You can place each modified template in different dictionaries and merged the required one per the chosen theme. You can check the following help article, which I think will get in handy.

Regards,
Dinko
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products, quickly just got a fresh new look + new and improved content, including a brand new Blazor course! Check it out at https://learn.telerik.com/.

0
Stuart Cotts
Top achievements
Rank 1
answered on 19 Jan 2021, 05:19 PM

I was hoping it was a simple thing

Thanks
S

 

0
Thilo
Top achievements
Rank 1
Iron
answered on 02 May 2021, 01:15 PM

Hello!

Here is my Solution with a more colored and bolded Header of the Tab to use with the StyleManager.
It ist full functional with Pins and Close Button because it's based on the original Telerik Implicit Styles.

All Changes in the Style files are marked with 'Changes'.

Tags
TabControl
Asked by
Stuart Cotts
Top achievements
Rank 1
Answers by
Dinko
Telerik team
Stuart Cotts
Top achievements
Rank 1
Thilo
Top achievements
Rank 1
Iron
Share this question
or