How to set Foreground color of a selected item

Thread is closed for posting
2 posts, 0 answers
  1. Shantimohan
    Shantimohan avatar
    42 posts
    Member since:
    Jul 2012

    Posted 15 Oct 2012 Link to this post

    Now when a row / item is selected in the list box, the foreground color is set to the theme color. I don't want this to happen. I want it to retain the Foreground="White" even if an item is selected. How can I accomplish it?
  2. Deyan
    Deyan avatar
    2147 posts

    Posted 16 Oct 2012 Link to this post

    Hello Shantimohan,

    Thanks for writing.

    Just set the Foreground color of the root element within your Item Template to the desired color explicitly.
    This will override the default behavior.

    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Back to Top