DragEventArgs::GetPosition Method (IInputElement^)
.NET Framework (current version)
Returns a drop point that is relative to a specified IInputElement.
Assembly: PresentationCore (in PresentationCore.dll)
Parameters
- relativeTo
-
Type:
System.Windows::IInputElement^
An IInputElement object for which to get a relative drop point.
Return Value
Type: System.Windows::PointA drop point that is relative to the element specified in relativeTo.
| Exception | Condition |
|---|---|
| ArgumentNullException | Raised when relativeTo is null. |
.NET Framework
Available since 3.0
Available since 3.0
Show: