On On Class

Definition

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

[Xamarin.Forms.ContentProperty("Value")]
public class On
type On = class
Inheritance
Attributes

Constructors

On() On()

Creates a new On with default values.

Properties

Platform Platform

Gets or sets the list of specified platforms.

Value Value

Gets or sets the value on the current platform.

Extension Methods

LoadFromXaml<TXaml>(TXaml, String) LoadFromXaml<TXaml>(TXaml, String)

Returns an initialized view by loading the specified xaml.

LoadFromXaml<TXaml>(TXaml, Type) LoadFromXaml<TXaml>(TXaml, Type)

Returns a TXaml with the properties that are defined in the application manifest for callingType.

Applies to