Hi,
I know how to change the mouse cursor when mouse over a specific cell. I however would like to know if I can change the cursor only if the mouse is actually on top of the text. When the mouse is over the empty space but not over the text within a cell, can I detect that also? Is this possible?
Oh... something just occurred to me. Are you trying to do something like a hyperlink?
If that's what you want, then you could do this using a the FormattedText or URL style on the column. In that case, the cursor would change automatically when the mouse is over the text, I think.
I don't think there's any way to do this. You could trap for when the mouse is over a TextUIElement or TextUIElementBase, but the element itself probably just fills the whole cell (or most of it) regardless of the actual size of the text.
The only way to do something like this would be to measure the text yourself and try to determine it's exact position, which would mean duplicating a lot of the logic that is used to draw the text in the first place. There are so many options and so many different ways that this occurs, that it would be nearly impossible.