Remove selected and hover states

2 posts, 0 answers
  1. Alex Lawson
    Alex Lawson avatar
    43 posts
    Member since:
    May 2008

    Posted 10 Aug 2011 Link to this post

    Probably missing something here, but is there an easy way to block the selected and hovered item being highlighted?  It is undesirable in my touch screen application.
  2. Stefan
    Stefan avatar
    2911 posts

    Posted 11 Aug 2011 Link to this post

    Hi Alex,

    Thank you for writing.

    There are two possibilities to do that. The first one is in the SelectedItemChanged event to remove the control Selected and Current item:
    void radListView1_SelectedItemChanged(object sender, Telerik.WinControls.UI.ListViewItemEventArgs e)
        radListView1.CurrentItem = null;
        radListView1.SelectedItem = null;

    The other approach is to modify the theme by using Visual Style Builder, and remove the selected and current states. Please refer to the attached image. Then load the modified theme to your application.

    I hope that you find this information helpful. Should you have any other questions, do not hesitate to contact us.
    Kind regards,
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>

Back to Top