How to dynamically change the Foreground Color of the tabheader

2 posts, 0 answers
  1. Vinnarasi
    Vinnarasi avatar
    14 posts
    Member since:
    Aug 2013

    Posted 07 Nov 2013 Link to this post

    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
  2. Kalin
    Admin
    Kalin avatar
    1208 posts

    Posted 11 Nov 2013 Link to this post

    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 >>
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top