'Declaration
Public Overloads Function GetPosition( _ ByVal relativeTo As UIElement _ ) As Point
public Point GetPosition( UIElement relativeTo )
Parameters
- relativeTo
- Any UIElement-derived object that is connected to the same object tree. To specify the object relative to the overall coordinate system, use a relativeTo value of null.