Xamarin.Forms.Device.OS Property
Gets the marin.Forms.TargetPlatform indicating the OS Forms is working on.

Syntax

public static TargetPlatform OS { get; }

Value

A marin.Forms.TargetPlatform indicating the current OS.

Remarks

Requirements

Namespace: Xamarin.Forms
Assembly: Xamarin.Forms.Core (in Xamarin.Forms.Core.dll)
Assembly Versions: 1.0.0.0, 1.1.0.0, 1.2.0.0, 1.3.0.0