Theming selection state for treeview items

2 posts, 0 answers
  1. Dave
    Dave avatar
    21 posts
    Member since:
    Jan 2005

    Posted 24 Nov 2017 Link to this post

    I have skinned my Treeview such that it has flat white icons and white text on a blue background.  I'd like them to invert colors for selection (blue on a white background).

    Using Visual Style Builder, is it possible to get the icons to "invert" somehow when selected?  Or what is the best way to achieve this?  

    If not, will I need to track selection myself and load "inverted" images at the appropriate time?





  2. Dimitar
    Dimitar avatar
    2935 posts

    Posted 27 Nov 2017 Link to this post

    Hi Dave,

    I would recommend you to open one of the predefined themes and examine how this is built there. You will notice that a single element can have different states and each state has different styles (see attached). Detailed information is available here: 
    I hope this will be useful. Let me know if you have additional questions.

    Progress Telerik
    Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top