Xamarin.Forms.ImageSource Members

The members of Xamarin.Forms.ImageSource are listed below.

See Also: Inherited members from Xamarin.Forms.Element

Protected Properties

[read-only]
CancellationTokenSourceSystem.Threading.CancellationTokenSource. Gets the CancellationTokenSource.

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..

Public Operators

static
Conversion to Xamarin.Forms.ImageSource(Implicit)Allows implicit casting from a string that represents an absolute URI.
static
Conversion to Xamarin.Forms.ImageSource(Implicit)Allows implicit casting from Uri objects that were created with an absolute URI.

Explicitly Implemented Interface Members

Xamarin.Forms.IElement.ParentElement. Gets or sets the element to which this Xamarin.Forms.ImageSource object belongs.
Xamarin.Forms.IElement.XamlParentWeakReference<Element>. Gets or sets a weak reference to the parent of this Xamarin.Forms.ImageSource object.