Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WPF > GridView > Hiding Row Selection Highlight

Not answered Hiding Row Selection Highlight

Feed from this thread
  • David avatar

    Posted on May 3, 2010 (permalink)

    How do I hide the current row highlight of a grid?

    Reply

  • Kalin Milanov Kalin Milanov admin's avatar

    Posted on May 4, 2010 (permalink)

    Hello David,

    To do that you will need to edit the template of the row and remove the IsSelected trigger. This will cause the row not to display the selection, only MouseOver state.

    Let me know if you need any additional assistance with this.

    Best wishes,
    Kalin Milanov
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.

    Reply

  • David avatar

    Posted on May 4, 2010 (permalink)

    where do I find the GridViewRow template?

    Reply

  • Pavel Pavlov Pavel Pavlov admin's avatar

    Posted on May 5, 2010 (permalink)

    Hi David,

    The attached project has a row template with the selection trigger commented out . I hope you find it helpful.

    Greetings,
    Pavel Pavlov
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
    Attached files

    Reply

  • Graeme avatar

    Posted on Feb 9, 2012 (permalink)

    Hello, I am also attempting to alter the selection/over visuals.  I tried the above approach and noticed that it severely impacted scrolling performance.  I tried replacing my template with the above attached template (which is almost identical), and I still see the performance issue.

    Is there a "lightweight" version of this row template that can be applied?  The default selection/over visuals do not match our application theme, so we simply want to remove them.  I would think this would actually improve performance (if anything), so I am wondering what I am doing wrong?

    Thanks -
    - Graeme

    Reply

  • Vanya Pavlova Vanya Pavlova admin's avatar

    Posted on Feb 10, 2012 (permalink)

    Hi Graeme,

     


    Generally if you want to remove these effects you may predefine the template of GridViewRow and remove the Border elements named Background_Over and Background_Selected (and their associated triggers as well). I am attaching you sample application which demonstrates how to achieve this result. 
    Will you please give it a try and let me know how it goes? 




    Regards,
    Vanya Pavlova
    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WPF > GridView > Hiding Row Selection Highlight
Related resources for "Hiding Row Selection Highlight"

WPF Grid Features  |  Documentation  |  Demos  |  Telerik TV  |  Self-Paced Trainer  ]