The ImageSlider is an ASP.NET MVC extension used to display images and navigate among them. The extension supports three different ways to data bind: to a data source, loading images from a specified folder, or creating image items manually. Image thumbnails are created for you automatically or you can manually create them and increase the extension's performance.
The ImageSlider extension consists of the image area and navigation bar. The both elements can be fully customized via the SettingsImageArea and SettingsNavigationBar properties respectively.
This demo allows you to set one of the predefined scenarios using the 'Predefined Scenarios' combo box. A scenario provide the presets properties that you can further customize using the options below the extension.
Image Area Settings (accessed by the SettingsImageArea property)
- ImageSizeMode. Allows you to specify how an image is fit to image area.
- AnimationType. Contains a value specifying the animation type used to change images. If the slide animation type is used, images can be changed using the swipe gesture.
- NavigationDirection. The direction of image sliding.
- ItemTextVisibility. Specifies the visibility mode of the item text area.
- NavigationButtonsVisibility. Specifies the visibility mode of image area navigation button.
- EnableLoopNavigation. Specifies whether or not the navigation order in either direction repeats in a loop.
Navigation Bar Settings (accessed by the SettingsNavigationBar property)
- Position. This property allows to specify the position of navigation bar relative to image area.
- Mode. Specifies the appearance of navigation bar items: dots or image thumbnails.
- ThumbnailsModeNavigationButtonVisibility. Specifies the visibility mode of navigation buttons within the navigation bar. This property is in effect for Thumbnails mode only.
- PagingMode. Specifies how the navigation bar scrolls when an end-user clicks page navigation buttons.
Behavior Settings (accessed by the SettingsBehavior property)
- EnablePagingGestures. This option specifies whether an end-user can switch pages with a swipe gesture.
- EnablePagingByClick. This option specifies whether paging by click is enabled.
- ImageLoadMode. This option specifies the image loading mode.
- ExtremeItemClickMode. Specifies the effect that is produced when an end-user clicks an extreme item.
Appearance
- ShowNavigationBar. This option specifies the navigation bar visibility.
Local Copy of this Demo To inspect the source code for this demo on your machine, you must first install our components via the DevExpress Component Installer. |
You can open a local copy of this online demo directly from this webpage (if using v20.2.8, 21.1.4 or higher).
\Users\Public\Documents\DevExpress Demos XX.X\Components\ASP.NET\CS\MVCxImageAndDataNavigationDemos |