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

Personalize my tabcontrol items

2 Answers 27 Views
TabControl
This is a migrated thread and some comments may be shown as answers.
Haythem
Top achievements
Rank 1
Haythem asked on 25 Sep 2013, 10:36 AM
Hi,
Can you help me please, i want to personalize my tabcontol items like the picture attached? 
my problem is that i could not personalize selected and unfocused colors.

Waiting forward for your answer,
KAROUI Haythem
Crea-digital

2 Answers, 1 is accepted

Sort by
0
Pavel R. Pavlov
Telerik team
answered on 30 Sep 2013, 06:21 AM
Hello Haythem,

In order to achieve your requirement you need to extract and edit the default template of the RadTabItem control. You can find more information about extracting styles here.

When you extract the template you will be able to customize the Border element called "SelectionVisual". This control is visualized by the VisualState called "Selected".

When the focus is not over a specific RadTabItem the "NormalVisual" border is visualized. Hence, you need to customize it in order to change the "Unfocused" VisualState. Please note that you will also change the "Normal" VisualState.

For your convenience I extracted the default template of the RadTabItem in the attached project. Please take a look at it and try to implement the required customizations.

Let us know if you need any further assistance.

Regards,
Pavel R. Pavlov
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
0
Haythem
Top achievements
Rank 1
answered on 04 Oct 2013, 07:32 AM
Thank you for your response.
Tags
TabControl
Asked by
Haythem
Top achievements
Rank 1
Answers by
Pavel R. Pavlov
Telerik team
Haythem
Top achievements
Rank 1
Share this question
or