共用方式為


Device.Idiom Property

Definition

Gets the kind of device that Xamarin.Forms is currently working on.

public static Xamarin.Forms.TargetIdiom Idiom { get; }
member this.Idiom : Xamarin.Forms.TargetIdiom

Property Value

A TargetIdiom that represents the device type.

Applies to