Share via


DragEventArgs.GetPosition(IInputElement) Yöntem

Tanım

Belirtilen IInputElementöğesine göre bir bırakma noktası döndürür.

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

Parametreler

relativeTo
IInputElement

Göreli IInputElement bir bırakma noktasının alındığı nesne.

Döndürülenler

içinde relativeTobelirtilen öğeye göre bir bırakma noktası.

Özel durumlar

Null olduğunda relativeTo tetikleniyor.

Şunlara uygulanır