Xamarin.iOS Documentation | ComponentOne
C1.iOS.Core Assembly / C1.iOS.Core Namespace / C1InputEventArgs Class / HitTest<T> Method


In This Topic
    HitTest<T> Method (C1InputEventArgs)
    In This Topic
    Returns the first visual element which is hit by this event.
    Syntax
    'Declaration
     
    
    Public Function HitTest(Of T As UIKit.UIView)( _
       Optional ByVal ZoomScale As Double _
    ) As T
    'Usage
     
    
    Dim instance As C1InputEventArgs
    Dim ZoomScale As Double
    Dim value As T
     
    value = instance.HitTest(Of T)(ZoomScale)
    public T HitTest<T>( 
       double ZoomScale
    )
    where T: UIKit.UIView

    Parameters

    ZoomScale

    Type Parameters

    T
    See Also