Skip to main content

TcxMCListBox.MultiLines Property

Specifies whether column values can be word wrapped.

Declaration

property MultiLines: Boolean read; write; default False;

Property Value

Type Default
Boolean False

Remarks

Use the MultiLines property to specify whether column values must be word wrapped if they don’t fit into columns. Set this property to True to allow word wrapping. In this instance, if a column values doesn’t fit into the column, the value occupies several lines so that it is displayed completely. Note that there can be situations wherein the MultiLines property value is True, but the column value is partially visible. This occurs if column width is so small that individual words cannot be displayed completely.

If the MultiLines property value is False, column values are displayed in a single line independant of whether they are displayed completely. In this instance, you can specify how the text should be truncated using the ShowEndEllipsis property.

Images below show the same multi column list box control when the MultiLines property is set to False and True respectively. Odd items are selected in the second screenshot so you can see which items occupy multiple lines.

The default value of the MultiLines property is False.

See Also