Tab
A newer version of this page is available. Switch to the current version.

ASPxImageBase.ShowLoadingImage Property

Specifies whether the loading image is displayed while the main image is being loaded.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v18.2.dll

Declaration

[DefaultValue(false)]
public bool ShowLoadingImage { get; set; }
<DefaultValue(False)>
Public Property ShowLoadingImage As Boolean

Property Value

Type Default Description
Boolean

false

true, to display loading image, otherwise, false.

Remarks

Set the ShowLoadingImage property to true to display the loading image while the main image is being loaded. To specify a custom loading image, use the ASPxImageBase.LoadingImageUrl property. Note that to work properly, the image height and width should be specified.


<dx:ASPxImage ID="ASPxImage1" runat="server" ShowLoadingImage="True" ImageUrl="~/Images/MyImage.jpg" LoadingImageUrl="~/Images/LoadingImage.jpg" Height="50px" Width="50px">
</dx:ASPxImage>

Implements

DevExpress.Web.Internal.IImageEdit.ShowLoadingImage
See Also