Tab

MenuItem.DataPath Property

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

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v20.2.dll

Declaration

[DefaultValue("")]
public string DataPath { get; }
<DefaultValue("")>
Public ReadOnly Property DataPath As String

Property Value

Type Default Description
String

String.Empty

The path to the data that is bound to the item. This value comes from the hierarchical data source control to which the menu control is bound.

Remarks

The DataPath property value is commonly used when calling the GetHierarchicalView method to provide the path to the data that is bound to the current menu item. This method then returns a HierarchicalDataSourceView object that contains the data at the specified path.

See Also