IntegralHeight Property

Applies To

ListBox control, TextBox control.

Description

Indicates whether a ListBox or TextBox displays full lines of text in a list or partial lines.

Syntax

object.IntegralHeight [= Boolean]

The IntegralHeight property syntax has these parts:

Part

Description

object

Required. A valid object.

Boolean

Optional. Whether the list displays partial lines of text.


Settings

The settings for Boolean are:

Value

Description

True

The list resizes itself to display only complete items (default).

False

The list does not resize itself even if the item is too tall to display completely.


Remarks

The IntegralHeight property relates to the height of the list, just as the AutoSize property relates to the width of the list.

If IntegralHeight is True, the list box automatically resizes when necessary to show full rows. If False, the list remains a fixed size; if items are taller than the available space in the list, the entire item is not shown.

See Also

AutoSize property.