Skip to main content

ToolbarCustomDropDownBase.ValueField Property

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

Namespace: DevExpress.Web.ASPxHtmlEditor

Assembly: DevExpress.Web.ASPxHtmlEditor.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

[DefaultValue("")]
public string ValueField { 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 text, values or displayed images) from specific data fields. Use the ValueField property, to specify a data source’s field from which the item values should be obtained.

See Also