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

How to dynamically change the Foreground Color of the tabheader

1 Answer 72 Views
Docking
This is a migrated thread and some comments may be shown as answers.
Vinnarasi
Top achievements
Rank 1
Vinnarasi asked on 07 Nov 2013, 08:08 AM
Hi Telerik Support,

I want to dynamically change the Foreground Color of the tabheader. (i.e)When I drag and drop a new tab in the Main Window, The tabHeader Foreground Color have to change. How to achieve this? I am using Q2 version in my Application.

Thanks,
Vinnarasi

1 Answer, 1 is accepted

Sort by
0
Kalin
Telerik team
answered on 11 Nov 2013, 03:10 PM
Hello Vinnarasi,

In order to achieve the desired scenario you would just need to change the Foreground color of the required Pane. You can do that in the PaneStateChanged event handler where you can check whether the Pane is floating or not. Please check the attached sample project which demonstrates the exact approach.

Hope this helps.

Regards,
Kalin
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
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 >>
Tags
Docking
Asked by
Vinnarasi
Top achievements
Rank 1
Answers by
Kalin
Telerik team
Share this question
or