GetPosition(UIView) Method
In This Topic
Gets the position of the pointer performing the drag gesture relatively to the specified element.
Syntax
'Declaration
Public Overloads Function GetPosition( _
ByVal As UIKit.UIView _
) As CoreGraphics.CGPoint
'Usage
Dim instance As C1InputEventArgs
Dim relativeTo As UIKit.UIView
Dim value As CoreGraphics.CGPoint
value = instance.GetPosition(relativeTo)
public CoreGraphics.CGPoint GetPosition(
UIKit.UIView
)
Parameters
- relativeTo
- Any visual object that is connected to the same object tree. To specify the object relative to the overall coordinate system, use a relativeTo value of null.
See Also