ImageSliderBehaviorSettings.ImageLoadMode Property
Gets or sets a value specifying the image loading mode for the ASPxImageSlider.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
NuGet Package: DevExpress.Web
#Declaration
[DefaultValue(ImageLoadMode.Auto)]
public ImageLoadMode ImageLoadMode { get; set; }
#Property Value
Type | Default | Description |
---|---|---|
Image |
Auto | One of the Image |
Available values:
Name | Description |
---|---|
All |
All images are loaded when an image slider is loaded for the first time. |
Dynamic |
An image is loaded when required. Loaded images are cached and not loaded from the server the next time they are required. |
Dynamic |
An image is loaded when required. Currently, an unnecessary image is unloaded. |
Auto | Equal to Dynamic |
#Property Paths
You can access this nested property as listed below:
Library | Object Type | Path to Image |
---|---|---|
ASP. |
Image |
|
ASP. |
ASPx |
|
#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.