Xamarin.Forms Guides | Samples

Xamarin.Forms.On Class

Class that is used within OnPlatform tags in XAML when specifying values on platforms.

See Also: On


public class On


Namespace: Xamarin.Forms
Assembly: Xamarin.Forms.Core (in Xamarin.Forms.Core.dll)
Assembly Versions:

The members of Xamarin.Forms.On are listed below.

See Also: Object

Public Constructors

Creates a new On with default values.

Public Properties

PlatformIList<string>. Gets or sets the list of specified platforms.
ValueObject. Gets or sets the value on the current platform.