Xamarin.Android | ComponentOne
C1.Android.Input Assembly / C1.Android.Input Namespace / C1MaskedTextView Class / GetOffsetForPosition Method


In This Topic
    GetOffsetForPosition Method (C1MaskedTextView)
    In This Topic
    Syntax
    'Declaration
     
    
    <Android.Runtime.RegisterAttribute("getOffsetForPosition", 
       "(FF)I", 
       "GetGetOffsetForPosition_FFHandler", 
       ApiSince=14)>
    Public Overridable Function GetOffsetForPosition( _
       ByVal x As Single, _
       ByVal y As Single _
    ) As Integer
    'Usage
     
    
    Dim instance As C1MaskedTextView
    Dim x As Single
    Dim y As Single
    Dim value As Integer
     
    value = instance.GetOffsetForPosition(x, y)
    [Android.Runtime.Register("getOffsetForPosition", 
       "(FF)I", 
       "GetGetOffsetForPosition_FFHandler", 
       ApiSince=14)]
    public virtual int GetOffsetForPosition( 
       float x,
       float y
    )

    Parameters

    x
    y
    See Also