Binding to Data Overview

A Menu can be populated with item information taken from a data source, which can be any object that implements the IHierarchicalEnumerable or IHierarchicalDataSource interface (e.g. SiteMapDataSource, XmlDataSource, etc.).

The Menus ship with the following data binding methods:

A Menu supports two methods of data retrieval from a specified data source. One involves manually setting specific data-related properties to data source item attribute names. The other, exploits the Menu's ability to retrieve data automatically, given that the data source item attributes are named after the property names a Menu object.

However you choose to proceed, a Menu automatically creates the MVCxMenuItem objects, and retrieves their property values from corresponding items.

Concepts