Share via


UIElement.PointToClient Method

Given a point within this child UIElement, PointToClient returns the client UIElement that is the top-level ancestor of this UIElement, and expresses the given point in the coordinate space of that ancestor.

Namespace: Microsoft.SPOT.Presentation
Assembly: Microsoft.SPOT.TinyCore (in microsoft.spot.tinycore.dll)

Syntax

public void PointToClient (
         ref intx,
         ref inty
)

Parameters

  • x
    The X coordinate of the specified point, in the coordinate space of this UIElement.
  • y
    The Y coordinate of the specified point, in the coordinate space of this UIElement.

Version Information

Available in .NET Micro Framework version 3.0 and above.

See Also

Reference

UIElement Class
UIElement Members
Microsoft.SPOT.Presentation Namespace