DeviceIdiom Struct
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The idiom (form factor) of the device.
public struct DeviceIdiom : IEquatable<Xamarin.Essentials.DeviceIdiom>
[System.Runtime.CompilerServices.IsReadOnly]
public struct DeviceIdiom : IEquatable<Xamarin.Essentials.DeviceIdiom>
- Inheritance
-
System.ValueTypeDeviceIdiom
- Attributes
-
System.Runtime.CompilerServices.IsReadOnlyAttribute
- Implements
-
System.IEquatable<DeviceIdiom>
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(DeviceIdiom) |
Checks the equality of the idiom. |
Equals(Object) |
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. |