TargetPlatform TargetPlatform Enum

Definition

Indicates the kind of OS Xamarin.Forms is currently working on.

[System.Obsolete]
public enum TargetPlatform
type TargetPlatform = 
Inheritance
TargetPlatformTargetPlatform
Attributes

Fields

Android Android 2

Indicates that Xamarin.Forms is running on a Google Android OS.

iOS iOS 1

Indicates that Xamarin.Forms is running on an Apple iOS OS.

Other Other 0

(Unused) Indicates that Xamarin.Forms is running on an undefined platform.

Windows Windows 4

Indicates that forms is running on the Windows platform.

WinPhone WinPhone 3

Indicates that Xamarin.Forms is running on a Microsoft WinPhone OS.

Applies to