Xamarin.Forms.ImageSource: Method Members

The methods of Xamarin.Forms.ImageSource are listed below. For a list of all members, see the ImageSource Members list.

See Also: Inherited members from Xamarin.Forms.Element

Public Methods

Cancel() : System.Threading.Tasks.Task<bool>
Request a cancel of the ImageSource loading.
static
FromFile(string) : ImageSource
Returns a new Xamarin.Forms.FileImageSource that reads from file.
static
FromResource(string) : ImageSource
Creates an ImageSource for an EmbeddedResource included in the Assembly from which the call to FromResource is made.
static
FromStream(Func<System.IO.Stream>) : ImageSource
Returns a new Xamarin.Forms.StreamImageSource that reads from stream.
static
FromUri(Uri) : ImageSource
Returns a new Xamarin.Forms.UrimageSource that reads from uri.

Protected Methods

OnLoadingCompleted(bool)
Called by inheritors to indicate the end of the loading of the source.
OnLoadingStarted()
Called by inheritors to indicate the beginning of a loading operation.
OnSourceChanged()
Called by inheritors to indicate that the source changed..