UIKit.UIScreen.Brightness Property
The brightness level of this UIScreen.

Syntax

[ObjCRuntime.Availability(Introduced=ObjCRuntime.Platform.iOS_5_0)]
[get: Foundation.Export("brightness")]
[get: ObjCRuntime.Availability(Introduced=ObjCRuntime.Platform.iOS_5_0)]
[set: Foundation.Export("setBrightness:")]
[set: ObjCRuntime.Availability(Introduced=ObjCRuntime.Platform.iOS_5_0)]
public virtual nfloat Brightness { get; set; }

Value

Ranges from 0.0 (minimum brightness) to 1.0.

Remarks

This value affects the screen only when the application is in the foreground. The system-wide brightness is used when other applications are in the foreground. In other words, applications do not need to store and reset the brightness as they are activated and de-activated.

Requirements

Namespace: UIKit
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0