Tab

ASPxImageSlider.NameField Property

Gets or sets the data source field which provides unique item identifier names.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v21.1.dll

Declaration

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

Property Value

Type Default Description
String

String.Empty

A string value that specifies the name of the data source field which contains unique item identifier names.

Remarks

The NameField property is in effect if an image slider 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 contains unique item identifier names. The NameField property maps the ImageSliderItem.Name properties of item objects to the specified data field’s values.

If the NameField property of a data bound image slider is not defined, the control can automatically obtain item names from a data field which is named “Name”. You can also use the ASPxImageSlider.ItemDataBound property to manipulate a control item’s settings as required.

See Also