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

MouseOverCell Property

2 Answers 51 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Matthias Bibo
Top achievements
Rank 1
Matthias Bibo asked on 10 Jan 2012, 12:14 PM
Hi,

I am trying to get the CurrentCell under the mouse cursor. While debugging I found the Property 'MouseOverCell' but it is private so I can'´t access it. Would it be possible to make this Property Public?
Of is there some other way to access the CurrentCell under the mouse cursor?

We need this to copy the content of a cell into the clippboard.

Thanks & Best Regards
Matthias Bibo

2 Answers, 1 is accepted

Sort by
0
Accepted
Ivan Ivanov
Telerik team
answered on 10 Jan 2012, 02:07 PM
Hello Matthias,

An easy approach to achieving this is is to use the VisualTreeHelper.FindElementsInHostCoordinates method. I have prepared a simple example project that illustrates this. It is attached for your reference.

Regards,
Ivan Ivanov
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
0
Matthias Bibo
Top achievements
Rank 1
answered on 10 Jan 2012, 04:04 PM
Hi Ivan,

thank you very much for your solution. This has solved the matter for us.

Best Regards,
Matthias Bibo
Tags
GridView
Asked by
Matthias Bibo
Top achievements
Rank 1
Answers by
Ivan Ivanov
Telerik team
Matthias Bibo
Top achievements
Rank 1
Share this question
or