次の方法で共有


Configuration<TPlatform,TElement> Class

Definition

Utility class for retrieving platform-specific versions of elements.

public class Configuration<TPlatform,TElement> : Xamarin.Forms.IConfigElement<TElement>, Xamarin.Forms.IPlatformElementConfiguration<TPlatform,TElement> where TPlatform : IConfigPlatform where TElement : Element
type Configuration<'Platform, 'Element (requires 'Platform :> IConfigPlatform and 'Element :> Element)> = class
    interface IPlatformElementConfiguration<'Platform, 'Element (requires 'Platform :> IConfigPlatform and 'Element :> Element)>
    interface IConfigElement<'Element (requires 'Element :> Element)>

Type Parameters

TPlatform

The target platform for the configuration.

TElement

The element type for which to retrieve platform-specific versions.

Inheritance
System.Object
Configuration<TPlatform,TElement>
Implements

Constructors

Configuration<TPlatform,TElement>(TElement)

Constructs a new configuration for the specified element.

Properties

Element

Gets the platform-independent element for which platform-specific versions can be retrieved.

Methods

Create(TElement)

Creates and returns a new configuration for the specifed element.

Applies to