Xamarin.Forms Guides | Samples

Xamarin.Forms.UriImageSource Class

An ImageSource that loads an image from a URI, caching the result.

See Also: UriImageSource


public sealed class UriImageSource : ImageSource


Namespace: Xamarin.Forms
Assembly: Xamarin.Forms.Core (in Xamarin.Forms.Core.dll)
Assembly Versions:,,,,,,

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

See Also: ImageSource

Public Constructors

Creates a new UriImageSource object with default values.

Public Fields

static readonly
UriPropertyBindableProperty. Backing store for the UriImageSource.Uri property.

Public Properties

CacheValidityTimeSpan. Gets or sets a TimeSpan structure that indicates the length of time after which the image cache becomes invalid.
CachingEnabledBoolean. Gets or sets a Boolean value that indicates whether caching is enabled on this UriImageSource object.
UriUri. Gets or sets the URI for the image to get.