HumanPresenceSettings.IsAdaptiveDimmingEnabled 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.
Gets or sets whether adaptive dimming is enabled.
public:
property bool IsAdaptiveDimmingEnabled { bool get(); void set(bool value); };
bool IsAdaptiveDimmingEnabled();
void IsAdaptiveDimmingEnabled(bool value);
public bool IsAdaptiveDimmingEnabled { get; set; }
var boolean = humanPresenceSettings.isAdaptiveDimmingEnabled;
humanPresenceSettings.isAdaptiveDimmingEnabled = boolean;
Public Property IsAdaptiveDimmingEnabled As Boolean
Property Value
bool
True, if adaptive dimming is enabled. Otherwise, false. The default is false.
Remarks
Introduced in the May Moment update for Windows 11, Version 22H2, Build 22621.
We recommend using the AdaptiveDimming APIs instead of the AttentionAwareDimming APIs (IsAttentionAwareDimmingSupported, IsAttentionAwareDimmingEnabled), which are now obsolete.
The user can specify their preferred dimming behavior in the System settings (see Launch the Windows Settings app).