Back to Devexpress

ON Properties

maui-devexpress-dot-maui-dot-core-dot-on-dot-underscore-properties.md

latest1.9 KB
Original Source

ON Properties

A helper class that allows you to identify device parameters: operating system type, orientation, form factor, and device type (physical device or simulator).

NameDescription
Android staticIndicates whether the app is launched on a device running Android.
DefaultScreenExtraLargeThreshold staticThe default minimum size for devices with screens of the Extra Large size class.
DefaultScreenLargeThreshold staticThe default minimum size for devices with screens of the Large size class.
DefaultScreenMediumThreshold staticThe default minimum size for devices with screens of the Medium size class.
DefaultScreenSmallThreshold staticThe default minimum size for devices with screens of the Small size class.
iOS staticIndicates whether the app is launched on a device running iOS.
Landscape staticIndicates whether the app is displayed in the Landscape orientation.
Phone staticIndicates whether the app is running on a phone.
Portrait staticIndicates whether the app is displayed in the Portrait orientation.
Simulator staticIndicates whether the app is running on a simulator/emulator.
Tablet staticIndicates whether the app is running on a tablet.

See Also

ON Class

ON Members

DevExpress.Maui.Core Namespace