共用方式為


IMarkupExtension<T> Interface

Definition

Provides a base class for XAML markup extension implementations

public interface IMarkupExtension<out T> : Xamarin.Forms.Xaml.IMarkupExtension
type IMarkupExtension<'T> = interface
    interface IMarkupExtension

Type Parameters

T
This type parameter is covariant. That is, you can use either the type you specified or any type that is more derived. For more information about covariance and contravariance, see Covariance and Contravariance in Generics.
Derived
Implements

Methods

ProvideValue(IServiceProvider)

When implemented in a derived class, returns an object that is provided as the value of the target property for this markup extension.

Applies to