DeviceIdiom Struct

Definition

The idiom (form factor) of the device.

[System.Runtime.CompilerServices.IsReadOnly]
public struct DeviceIdiom : IEquatable<Xamarin.Essentials.DeviceIdiom>
Inheritance
DeviceIdiom
Attributes
Implements

Remarks

Properties

Desktop

Gets the desktop idiom.

Phone

Gets the phone idiom.

Tablet

Gets the tablet idiom.

TV

Gets the TV idiom.

Unknown

Gets the unknown idiom.

Watch

Gets the watch idiom.

Methods

Create(String)

Creates a new device idiom.

Equals(Object)

Checks the equality of the idiom.

Equals(DeviceIdiom)

Checks the equality of the idiom.

GetHashCode()

Gets the hash code for the idom.

ToString()

String representation of the idiom.

Operators

Equality(DeviceIdiom, DeviceIdiom)

Checks the equality of the idiom.

Inequality(DeviceIdiom, DeviceIdiom)

Checks the equality of the idiom.

Applies to