Welcome to MSDN Blogs Sign in | Join | Help
Given a point, how to get the element at that coordinate?

UIElement.InputHitTest is a hidden function that could do just that,

public IInputElement InputHitTest (
Point point
)

 Passing in the coordinate, and this function will look at the element subtree and get the element (IInputElement because it's a common interface between ContentElement and UIElement) that is at that location.

Posted: Thursday, August 30, 2007 10:02 AM by digitalnetbizz
Filed under:
Anonymous comments are disabled
Page view tracker