Xamarin.Android | ComponentOne
C1.Android.Core Assembly / C1.Android.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 Android.Views.View)( _
       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: Android.Views.View

    Parameters

    ZoomScale

    Type Parameters

    T
    See Also