Skip to main content
Tab

MenuItem.DataItem Property

Gets the data item that is bound to the menu item.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

public object DataItem { get; set; }

Property Value

Type Description
Object

A Object that represents the data item that is bound to the menu item.

Remarks

When the menu control is bound to a data source, such as a XmlDataSource object, this property is set to the data item that is bound to this specific menu item. This property is commonly used to access the value of the data item.

Note

This property is available only after data binding has occurred.

See Also