This is a migrated thread and some comments may be shown as answers.

Hide the cell selected focus rectangle

1 Answer 292 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Mike
Top achievements
Rank 1
Mike asked on 15 Jul 2011, 06:59 PM
Is there an easy way in in the GridView to hide the cell focus rectangle.

I have a read only GridView that we do not show Lines on at all and the SelectionUnit is set to FullRow and other than the focus rectangle in the cell it looks exactly as we want it to.

I saw some talk on this in the Silverlight Forum back in 2009. It started with a loop through the rows rectangles but that no longer appears to work.
Silverlight Thread

More recently it was suggested that we have to create a custom style or data template to override the default and remove the focus rectangle from that. Is that the case for WPF also?

1 Answer, 1 is accepted

Sort by
0
Maya
Telerik team
answered on 18 Jul 2011, 07:35 AM
Hello Mike,

Please take a look at this article for a reference. Furthermore, I am sending you a sample project as well. 
 

All the best,
Maya
the Telerik team

Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

Tags
GridView
Asked by
Mike
Top achievements
Rank 1
Answers by
Maya
Telerik team
Share this question
or