Skip to main content
Tab

ImageSliderBehaviorSettings.ImageLoadMode Property

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

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v22.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:

Library Object Type Path to ImageLoadMode
ASP.NET MVC Extensions ImageSliderSettings
.SettingsBehavior.ImageLoadMode
MVCxImageSlider
.SettingsBehavior.ImageLoadMode
ASP.NET Web Forms Controls ASPxImageSlider
.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