Xamarin.Forms.Image Class
Xamarin.Forms.View that holds an image.

See Also: Image Members

Syntax

public class Image : View

Remarks

The following example creates a new image from a file

C# Example

var image = new Image { Source = "picture.png" };

The FormsGallery sample, which can be found on the Sample Applications page, has a ImageDemoPage.cs file. This file contains a longer and more complicated example.

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