Nevron Open Vision Documentation
Nevron.Nov.UI Namespace / NListBox Class / GetFirstVisibleItemIndex Method


In This Topic
    GetFirstVisibleItemIndex Method (NListBox)
    In This Topic
    Given a top Y coordinate in viewport coordinates, returns the index of the first visible item in the scrollbable items list.
    Syntax
    'Declaration
     
    
    Protected Overrides Function GetFirstVisibleItemIndex( _
       ByVal top As System.Double _
    ) As System.Integer
    'Usage
     
    
    Dim instance As NListBox
    Dim top As System.Double
    Dim value As System.Integer
     
    value = instance.GetFirstVisibleItemIndex(top)
    protected override System.int GetFirstVisibleItemIndex( 
       System.double top
    )

    Parameters

    top
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also