Share via


LineDisplayAttributes.Brightness Property

Definition

Gets or sets the brightness of the line display.

public:
 property int Brightness { int get(); void set(int value); };
int Brightness();

void Brightness(int value);
public int Brightness { get; set; }
var int32 = lineDisplayAttributes.brightness;
lineDisplayAttributes.brightness = int32;
Public Property Brightness As Integer

Property Value

Int32

int

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).

Applies to

See also