aspnet-devexpress-dot-web-dot-imagesliderbehaviorsettings-1556bc9c.md
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
[DefaultValue(ImageLoadMode.Auto)]
public ImageLoadMode ImageLoadMode { get; set; }
<DefaultValue(ImageLoadMode.Auto)>
Public Property ImageLoadMode As ImageLoadMode
| 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.
|
You can access this nested property as listed below:
| Library | Object Type | Path to ImageLoadMode |
|---|---|---|
| ASP.NET MVC Extensions | ImageSliderSettings |
.SettingsBehavior .ImageLoadMode
| | ASP.NET Web Forms Controls | ASPxImageSlider |
.SettingsBehavior .ImageLoadMode
|
Use the ImageLoadMode property to control when images should be loaded:
See Also
ImageSliderBehaviorSettings Class