Tab

RibbonDataFields.NameField Property

Gets or sets the data source field which provides ribbon element names.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v20.2.dll

Declaration

[DefaultValue("Name")]
public virtual string NameField { get; set; }
<DefaultValue("Name")>
Public Overridable Property NameField As String

Property Value

Type Default Description
String

"Name"

A string value that specifies the name of the data source field.

Remarks

The NameField property is in effect if the ASPxRibbon control is bound to a data source.

Use the NameField property to specify the bound data source's data field (or an xml element's attribute) which stores the names of ribbon elements. The NameField property maps the Name properties of objects to the specified data field values.

See Also