UIScreen.CurrentMode Property
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 active screen mode of this UIScreen.
public virtual UIKit.UIScreenMode CurrentMode { [Foundation.Export("currentMode", ObjCRuntime.ArgumentSemantic.Strong)] get; [Foundation.Export("setCurrentMode:", ObjCRuntime.ArgumentSemantic.Strong)] set; }
member this.CurrentMode : UIKit.UIScreenMode with get, set
Property Value
The UIScreenMode contains the pixel aspect ratio and size.
This value can be null
.
- Attributes
Remarks
Application developers should note that the Size value is constant. That is, it's Height and Width do not switch due to the device's orientation.