BootstrapComboBoxProperties.TextField Property

Gets or sets the data source field that provides display texts for the editor's items.

Namespace: DevExpress.Web.Bootstrap

Assembly: DevExpress.Web.Bootstrap.v20.1.dll

Declaration

[DefaultValue("")]
[Themeable(false)]
public string TextField { get; set; }
<DefaultValue("")>
<Themeable(False)>
Public Property TextField As String

Property Value

Type Default Description
String

String.Empty

A string value that specifies the name of the data source field from which the editor obtains item texts.

Remarks

If a list editor is data bound (via the ListEditProperties.DataSourceID or ListEditProperties.DataSource property), the editor populates its ListEditProperties.Items collection by retrieving items from the specified data source and obtaining item characteristics (such as item texts, values or displayed images) from specific data fields. Use the TextField property to specify a data source's field from which the item texts should be obtained.

NOTE

The TextField property synchronizes its value with the editor's ASPxListEdit.TextField property.

NOTE

This property is not in effect if the editor is used in multi-field mode.

See Also