Skip to main content
A newer version of this page is available. .
Tab

ImageSliderBehaviorSettings.ImageLoadMode Property

Gets or sets a value specifying the image loading mode for the ASPxImageSlider.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v19.1.dll

Declaration

[DefaultValue(ImageLoadMode.Auto)]
public ImageLoadMode ImageLoadMode { get; set; }

Property Value

Type Default Description
ImageLoadMode **Auto**

One of the ImageLoadMode enumeration values.

Available values:

Name Description
AllImages

All images are loaded when an image slider is loaded for the first time.

DynamicLoadAndCache

An image is loaded when required. Loaded images are cached and not loaded from the server the next time they are required.

DynamicLoad

An image is loaded when required. Currently, an unnecessary image is unloaded.

Auto

Equal to DynamicLoad for touch devices, and equal to DynamicLoadAndCache for other devices.

Property Paths

You can access this nested property as listed below:

Object Type Path to ImageLoadMode
ASPxImageSlider
.SettingsBehavior.ImageLoadMode
ImageSliderSettings
.SettingsBehavior.ImageLoadMode
MVCxImageSlider
.SettingsBehavior.ImageLoadMode

Remarks

Use the ImageLoadMode property to control when images should be loaded:

  • all images are loaded when an image slider is loaded for the first time.
  • an image is loaded when required. Currently, an unnecessary image is unloaded.
  • an image is loaded when required. Loaded images are cached and not loaded from the server the next time they are required.
See Also