Xamarin.Forms.Image.IsLoading Property
Gets the loading status of the image. This is a bindable property.

Syntax

public bool IsLoading { get; }

Value

A bool indicating if the image is loadin. Default is false.

Remarks

The following example illustrates running a Xamarin.Forms.ActivityIndicator to indicate that the image is loading:

C# Example

var image = new Image { 
  Source = new ImageLoader {
    Uri = new Uri ("http://eoimages.gsfc.nasa.gov/images/imagerecords/57000/57723/globe_west_2048.jpg"),
    CachingEnabled = false,
  },
  WidthRequest = 200,
  HeightRequest = 200,
};

var indicator = new ActivityIndicator {Color = new Color (.5),};
indicator.SetBinding (ActivityIndicator.IsRunningProperty, "IsLoading");
indicator.BindingContext = image;

Requirements

Namespace: Xamarin.Forms
Assembly: Xamarin.Forms.Core (in Xamarin.Forms.Core.dll)
Assembly Versions: 1.0.0.0, 1.1.0.0, 1.2.0.0, 1.3.0.0