[Overview][Constants][Types][Classes][Procedures and functions][Index] | Reference for unit 'ValEdit' (#lcl)

# TValueListEditor.DropDownRows

Number of rows displayed for an item with a PickList editor style.

## Declaration

Source position: valedit.pas line 309

`published property TValueListEditor.DropDownRows : Integer read FDropDownRows write SetDropDownRows default 8;`

## Description

DropDownRows is an Integer property with the number of rows displayed for an item with a PickList editor style. The default value for the property is 8.

DropDownRows is used in the GetDefaultEditor method to configure the TComboBox control used for the editor style.

Use the indexed ItemProps property to maintain an item definition used in the grid control.

## See also

TValueListEditor.GetDefaultEditor |  | Gets the editor control for the specified column number.
TValueListEditor.ItemProps |  | Provides indexed access to item definitions in the control.
TItemProp.EditStyle |  | Identifies the type of editor used for the item value.
TItemProp.PickList |  | Values that can be selected for the item in TValueListEditor.