ComponentOne Xamarin.iOS
GetPosition(UIGestureRecognizer,UIView) Method


C1.iOS.Core Assembly > C1.iOS.Core Namespace > C1InputEventArgs Class > GetPosition Method : GetPosition(UIGestureRecognizer,UIView) Method
The OriginalEventArgs instance containing the manipulation data.
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.
Gets the position of the pointer or finger.
Syntax
'Declaration
 
Public Overloads Shared Function GetPosition( _
   ByVal args As UIKit.UIGestureRecognizer, _
   ByVal relativeTo As UIKit.UIView _
) As CoreGraphics.CGPoint
'Usage
 
Dim args As UIKit.UIGestureRecognizer
Dim relativeTo As UIKit.UIView
Dim value As CoreGraphics.CGPoint
 
value = C1InputEventArgs.GetPosition(args, relativeTo)
public static CoreGraphics.CGPoint GetPosition( 
   UIKit.UIGestureRecognizer args,
   UIKit.UIView relativeTo
)

Parameters

args
The OriginalEventArgs instance containing the manipulation data.
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

Reference

C1InputEventArgs Class
C1InputEventArgs Members
Overload List