Skip to content

Latest commit

 

History

History
29 lines (19 loc) · 1.35 KB

linedisplayattributes_brightness.md

File metadata and controls

29 lines (19 loc) · 1.35 KB
-api-id -api-type
P:Windows.Devices.PointOfService.LineDisplayAttributes.Brightness
winrt property

Windows.Devices.PointOfService.LineDisplayAttributes.Brightness

-description

Gets or sets the brightness of the line display.

-property-value

The brightness of the line display.

-remarks

When the device supports brightness adjustment (LineDisplayCapabilities.IsBrightnessSupported is True) this writeable property configures the current screen brightness, in percent (valid values are positive integers from 0 to 100, inclusive). All devices support 100% (maximum brightness) and 0% (blank screen). Some devices also support dimming values in between these limits. In all cases the device driver (the Service Object) maps the requested brightness value to the closest value supported by the Hardware device.

The default value of this property is 100.

Changes to this property are committed to the device on the next call to ClaimedLineDisplay.TryUpdateAttributesAsync(LineDisplayAttributes).

-see-also

ClaimedLineDisplay.TryUpdateAttributesAsync(LineDisplayAttributes)

-examples