LabelField Property (FlexListBase)

Action

Gets the name of the field in the data provider items to display as the label.

By default the list looks for a property named label on each item and displays it. However, if the data objects do not contain a label property, you can set the labelField property to use a different property in the data object.

The default value is label.

Syntax

C#
protected String labelField { get; }
VB
'Declaration
Protected Read Property labelField As String

Access

Read only.