Поделиться через


IElementConfiguration<TElement> Interface

Definition

Interface for returning the platform-specific instance of a Xamarin.Forms type.

public interface IElementConfiguration<out TElement> where TElement : Element
type IElementConfiguration<'Element (requires 'Element :> Element)> = interface

Type Parameters

TElement

The element for which to return a platform-specific type.

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

Methods

On<T>()

Returns the platform-specific instance of this IElementConfiguration<TElement>, on which a platform-specific method may be called.

Applies to