[]
        
(Showing Draft Content)

C1.WPF.Core.DragDropEventArgs.GetPosition

GetPosition Method

GetPosition(UIElement)

Gets the mouse coordinates relative to a given UIElement.

Declaration
public Point GetPosition(UIElement relativeTo)
Parameters
Type Name Description
UIElement relativeTo

UIElement that determines the coordinate system of the return value.

Returns
Type Description
Point

A System.Windows.Point that contains the mouse coordinates relative to the UIElement specified by the relativeTo parameter.