Share via


StaticExtension Class

Definition

A markup extension that gets a static member value.

[Xamarin.Forms.ContentProperty("Member")]
[Xamarin.Forms.Xaml.ProvideCompiled("Xamarin.Forms.Build.Tasks.StaticExtension")]
public class StaticExtension : Xamarin.Forms.Xaml.IMarkupExtension
type StaticExtension = class
    interface IMarkupExtension
Inheritance
System.Object
StaticExtension
Attributes
ContentPropertyAttribute ProvideCompiledAttribute
Implements

Constructors

StaticExtension()

Creates a new StaticExtension object with default values.

Properties

Member

Gets or sets the member name.

Methods

ProvideValue(IServiceProvider)

Returns the value of the member.

Applies to