Xamarin.Forms Guides | Samples

Xamarin.Forms.UriImageSource Class

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

See Also: UriImageSource

Syntax

public sealed class UriImageSource : ImageSource

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, 1.4.0.0, 1.5.0.0, 2.0.0.0

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.