Share via


Overview | Methods | Fields | This Package | All Packages

OverviewMethodsFieldsThis PackageAll Packages

ListBox.getPreferredHeight

Retrieves the combined height, in pixels, of all the items in the list box.

Syntax

public final int getPreferredHeight()

Return Value

Returns the combined height, in pixels, of all items in the list box.