Share via


ImageResourceExtension Class

Definition

Provides ImageSource by Resource Id from the current app's assembly.

[Xamarin.Forms.ContentProperty("Id")]
public class ImageResourceExtension : Xamarin.Forms.Xaml.IMarkupExtension<Xamarin.Forms.ImageSource>
Inheritance
System.Object
ImageResourceExtension
Attributes
Implements

Constructors

ImageResourceExtension()

Properties

Id

The Resource Id of the image.

Methods

ProvideValue(IServiceProvider)

Explicit Interface Implementations

IMarkupExtension.ProvideValue(IServiceProvider)

Applies to