Xamarin.Android | ComponentOne
C1.Android.Core Assembly / C1.Android.Core Namespace / C1ClearableEditText Class / GetOffsetForPosition Method


In This Topic
    GetOffsetForPosition Method (C1ClearableEditText)
    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 C1ClearableEditText
    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