FMX.Pickers.TCustomListPicker.CountVisibleItems

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property CountVisibleItems: Integer read FCountVisibleItems write FCountVisibleItems;

C++

__property int CountVisibleItems = {read=FCountVisibleItems, write=FCountVisibleItems, nodefault};

Properties

Type Visibility Source Unit Parent
property public
FMX.Pickers.pas
FMX.Pickers.hpp
FMX.Pickers TCustomListPicker

Description

Keeps the maximum number of items displayed in the picker list.

A picker object obtains the default CountVisibleItems number from the list box control containing the current picker object.

By default, the picker list displays 8 items that are visible without requiring the user to scroll.

If the CountVisibleItems value is larger than the number of items, the picker object will be only large enough to display the existing items. If the CountVisibleItems value is smaller than the number of items, the picker object displays a scroll bar.

See Also