DragEventArgs.GetPosition(IInputElement) Método

Definición

Devuelve un punto de colocación que es relativo a un IInputElement especificado.

public:
 System::Windows::Point GetPosition(System::Windows::IInputElement ^ relativeTo);
public System.Windows.Point GetPosition (System.Windows.IInputElement relativeTo);
member this.GetPosition : System.Windows.IInputElement -> System.Windows.Point
Public Function GetPosition (relativeTo As IInputElement) As Point

Parámetros

relativeTo
IInputElement

Objeto IInputElement para el que se obtiene un punto de colocación relativo.

Devoluciones

Punto de colocación que es relativo al elemento especificado en relativeTo.

Excepciones

Se genera cuando relativeTo es null.

Se aplica a