共用方式為


Switch.On<T> 方法

定義

傳回此 Switch 的平台特定執行個體,可在其上呼叫平台特定方法。

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

類型參數

T

傳回

實作

適用於