Back to Devexpress

ImageSliderBehaviorSettings.ImageLoadMode Property

aspnet-devexpress-dot-web-dot-imagesliderbehaviorsettings-1556bc9c.md

latest2.7 KB
Original Source

ImageSliderBehaviorSettings.ImageLoadMode Property

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

Namespace : DevExpress.Web

Assembly : DevExpress.Web.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
[DefaultValue(ImageLoadMode.Auto)]
public ImageLoadMode ImageLoadMode { get; set; }
vb
<DefaultValue(ImageLoadMode.Auto)>
Public Property ImageLoadMode As ImageLoadMode

Property Value

TypeDefaultDescription
ImageLoadModeAuto

One of the ImageLoadMode enumeration values.

|

Available values:

NameDescription
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:

LibraryObject TypePath to ImageLoadMode
ASP.NET MVC ExtensionsImageSliderSettings

.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

Image Slider

ImageSliderBehaviorSettings Class

ImageSliderBehaviorSettings Members

DevExpress.Web Namespace