ItemHeight Property

Applies to TestComplete 14.92, last modified on September 16, 2021

Specifies the item height in a list box or drop-down list.

Declaration

componentObj.ItemHeight
Read-Only Property Integer
componentObj     One of the user forms components and objects listed in the Applies To section  

Applies To

The property applies to the following components and objects:

TcxComboBoxProperties, TcxListBox, TcxMRUEditProperties

Description

Use the ItemHeight property to specify the item height in pixels for the component.

  • For TcxListBox, the property specifies the height of list box items.
  • For the TcxMRUEdit and TcxComboBox components, the property specifies the height of items that are displayed in the drop-down list.

If ItemHeight is 0, the component automatically selects the item height according to the item’s font size.

Property Value

The height of an item in pixels.

See Also

IntegralHeight Property

Highlight search results