Personalize my tabcontrol items

3 posts, 0 answers
  1. Haythem
    Haythem avatar
    26 posts
    Member since:
    Jun 2013

    Posted 25 Sep 2013 Link to this post

    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. Pavel R. Pavlov
    Admin
    Pavel R. Pavlov avatar
    1182 posts

    Posted 30 Sep 2013 Link to this post

    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 >>
  3. DevCraft banner
  4. Haythem
    Haythem avatar
    26 posts
    Member since:
    Jun 2013

    Posted 04 Oct 2013 Link to this post

    Thank you for your response.
Back to Top