共用方式為


IElementConfiguration<TElement>.On<T> Method

Definition

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

public Xamarin.Forms.IPlatformElementConfiguration<T,out TElement> On<T> () where T : Xamarin.Forms.IConfigPlatform;
abstract member On : unit -> Xamarin.Forms.IPlatformElementConfiguration<'T, 'Element (requires 'T :> Xamarin.Forms.IConfigPlatform and 'Element :> Xamarin.Forms.Element)> (requires 'T :> Xamarin.Forms.IConfigPlatform)

Type Parameters

T

The platform for which to return an instance.

Returns

Applies to