Table of Contents

Struct RuntimePlatformInfo

Namespace
Avalonia.Platform
Assembly
Avalonia.Base.dll
[PrivateApi]
public struct RuntimePlatformInfo : IEquatable<RuntimePlatformInfo>
Implements
Inherited Members

Properties

FormFactor

public FormFactorType FormFactor { get; }

Property Value

FormFactorType

IsDesktop

public bool IsDesktop { readonly get; set; }

Property Value

bool

IsMobile

public bool IsMobile { readonly get; set; }

Property Value

bool

IsTV

public bool IsTV { readonly get; set; }

Property Value

bool

Methods

Equals(RuntimePlatformInfo)

public readonly bool Equals(RuntimePlatformInfo other)

Parameters

other RuntimePlatformInfo

Returns

bool

Equals(object)

public override readonly bool Equals(object obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override readonly int GetHashCode()

Returns

int

ToString()

public override string ToString()

Returns

string

Operators

operator ==(RuntimePlatformInfo, RuntimePlatformInfo)

public static bool operator ==(RuntimePlatformInfo left, RuntimePlatformInfo right)

Parameters

left RuntimePlatformInfo
right RuntimePlatformInfo

Returns

bool

operator !=(RuntimePlatformInfo, RuntimePlatformInfo)

public static bool operator !=(RuntimePlatformInfo left, RuntimePlatformInfo right)

Parameters

left RuntimePlatformInfo
right RuntimePlatformInfo

Returns

bool