Freigeben über


On Class

Definition

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

public ref class On
[Microsoft.Maui.Controls.ContentProperty("Value")]
public class On
[<Microsoft.Maui.Controls.ContentProperty("Value")>]
type On = class
Public Class On
Inheritance
On
Attributes

Constructors

On()

Properties

Platform

Gets or sets the list of specified platforms.

Value

Gets or sets the value on the current platform.

Applies to