ON Methods
A helper class that allows you to identify device parameters: operating system type, orientation, form factor, and device type (physical device or simulator).Name | Description |
---|---|
Device |
Selects the value of a reference type to be applied depending on the device type. |
Display |
Selects the value of a reference type to be applied depending on the device screen size. |
Display |
Selects the value of a value type to be applied depending on the device screen size. |
Equals |
Determines whether the specified object instances are considered equal.
Inherited from System. |
Equals |
Determines whether the specified object is equal to the current object.
Inherited from System. |
Get |
Serves as the default hash function.
Inherited from System. |
Get |
Gets the Type of the current instance.
Inherited from System. |
Idiom |
Selects the value to be applied depending on the device type on which the app is running. |
Memberwise |
Creates a shallow copy of the current Object.
Inherited from System. |
Orientation |
Selects the value to be applied depending on the screen orientation. |
Orientation |
Allows you to perform custom actions when the screen orientation changes. |
Platform |
Selects the value to be applied depending on the platform on which the app is running. |
Reference |
Determines whether the specified Object instances are the same instance.
Inherited from System. |
Screen |
Selects the value of a reference type to be applied depending on the device screen size. |
Screen |
Selects the value of a value type to be applied depending on the screen height. |
Screen |
Selects the value of a reference type to be applied depending on the screen width. |
Screen |
Selects the value of a value type to be applied depending on the screen width. |
To |
Returns a string that represents the current object.
Inherited from System. |
See Also