Gets the position of the touch point relative to the given UIElement.
Namespace: Mindscape.PhoneElementsAssembly: Mindscape.PhoneElements (in Mindscape.PhoneElements.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C# |
---|
public virtual Point GetPosition( UIElement relativeTo ) |
Visual Basic |
---|
Public Overridable Function GetPosition ( _ relativeTo As UIElement _ ) As Point |
Visual C++ |
---|
public: virtual Point GetPosition( UIElement^ relativeTo ) |
Parameters
- relativeTo
- Type: System.Windows..::..UIElement
The UIElement to derive the position.