ListView.getTopItem

Overview | Methods | This Package | All Packages

ListView.getTopItem

Retrieves the first visible item in a list view control.

Syntax

public final ListItem getTopItem()

Return Value

Returns a ListItem object that represents the first visible item in a list view control.

Exceptions

WFCException thrown if the list view control is in Large Icon or Small Icon view.

Remarks

Initially, the item with the index zero (0) is at the top of the list view control; if the list view control contents have been scrolled, a different item can be at the top.