Xamarin.Forms Guides | Samples

Xamarin.Forms.StreamImageSource Class

ImageSource that loads an image from a Stream.

See Also: StreamImageSource

Syntax

public class StreamImageSource : ImageSource, IStreamImageSource

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.StreamImageSource are listed below.

See Also: ImageSource

Public Constructors

Creates a new StreamImageSource object with default values.

Public Fields

static readonly
StreamPropertyBindableProperty. Backing store for the StreamImageSource.Stream property.

Public Properties

StreamFunc<System.Threading.CancellationToken, System.Threading.Tasks.Task<System.IO.Stream>>. Gets or sets the delegate responsible for returning a Stream for the Image.

Protected Methods

override
OnPropertyChanged(String)
Method that is called when the property that is specified by propertyName is changed..

Explicitly Implemented Interface Members