By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,064 Members | 1,449 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,064 IT Pros & Developers. It's quick & easy.

DataGrid cell from mouse cursor position?

P: n/a
hello.

is there some optimal way to get datagrid cell (row, col num)
from mouse cursor position?

with col there seems to be no big problem - there's FirstVisibleCol property
(something like that)

but what's about row num?

alex.
Nov 15 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Hi Alexander,

I think HitTest method should do the job.

--
Miha Markic - RightHand .NET consulting & software development
miha at rthand com
www.rthand.com

"Alexander Nenashev" <ne******@hotbox.ru> wrote in message
news:uj**************@TK2MSFTNGP12.phx.gbl...
hello.

is there some optimal way to get datagrid cell (row, col num)
from mouse cursor position?

with col there seems to be no big problem - there's FirstVisibleCol property (something like that)

but what's about row num?

alex.

Nov 15 '05 #2

P: n/a
THANX!!!

"Miha Markic" <miha at rthand com> сообщил/сообщила в новостях следующее:
news:#3**************@TK2MSFTNGP10.phx.gbl...
Hi Alexander,

I think HitTest method should do the job.

--
Miha Markic - RightHand .NET consulting & software development
miha at rthand com
www.rthand.com

"Alexander Nenashev" <ne******@hotbox.ru> wrote in message
news:uj**************@TK2MSFTNGP12.phx.gbl...
hello.

is there some optimal way to get datagrid cell (row, col num)
from mouse cursor position?

with col there seems to be no big problem - there's FirstVisibleCol

property
(something like that)

but what's about row num?

alex.


Nov 15 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.