Skip to main content

Bind Image Slider to Data

An ImageSlider can be populated with item information taken from a data source, which can be an XML file or any object that implements the IEnumerable or IQueryable interface.

You can bind the ImageSlider to a data via one of the following methods:

The ImageSlider 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 ImageSlider‘s ability to retrieve data automatically, given that the data source item attributes are named after the property names an ImageSlider object.

However you choose to proceed, the ImageSlider automatically creates the MVCxImageSliderItem objects and retrieves their property values from corresponding items.

Concepts