Skip to main content
A newer version of this page is available. .
Tab

ASPxImageBase.ShowLoadingImage Property

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

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v19.2.dll

Declaration

[DefaultValue(false)]
public bool ShowLoadingImage { get; set; }

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>
See Also