ToolbarCustomDropDownBase.TextField Property

Gets or sets the data source field that provides display texts for the items within a toolbar item.

Namespace: DevExpress.Web.ASPxHtmlEditor

Assembly: DevExpress.Web.ASPxHtmlEditor.v21.2.dll

Declaration

[DefaultValue("")]
public string TextField { get; set; }

Property Value

Type Default Description
String

String.Empty

A String value that specifies the name of the required data source field.

Remarks

If a toolbar item is data bound (via the ToolbarCustomDropDownBase.DataSource or ToolbarCustomDropDownBase.DataSourceID property), the item populates its Items collection by retrieving items from the specified data source and obtaining item characteristics (such 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.

See Also