Application.On<T> Method

Definition

Returns the platform-specific instance of this Application, on which a platform-specific method may be called.

public Xamarin.Forms.IPlatformElementConfiguration<T,Xamarin.Forms.Application> On<T> () where T : Xamarin.Forms.IConfigPlatform;
abstract member On : unit -> Xamarin.Forms.IPlatformElementConfiguration<'T, Xamarin.Forms.Application (requires 'T :> Xamarin.Forms.IConfigPlatform)> (requires 'T :> Xamarin.Forms.IConfigPlatform)
override this.On : unit -> Xamarin.Forms.IPlatformElementConfiguration<'T, Xamarin.Forms.Application (requires 'T :> Xamarin.Forms.IConfigPlatform)> (requires 'T :> Xamarin.Forms.IConfigPlatform)

Type Parameters

T

The platform configuration for which to retrieve the application instance.

Returns

Implements

Applies to