Returns the center point between the current touch points 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 Point GetMidPoint( UIElement relativeTo ) |
Visual Basic |
---|
Public Function GetMidPoint ( _ relativeTo As UIElement _ ) As Point |
Visual C++ |
---|
public: Point GetMidPoint( UIElement^ relativeTo ) |
Parameters
- relativeTo
- Type: System.Windows..::..UIElement
The UIElement to derive the center point.