Share via


DisplayEnhancementOverride.CanOverride Property

Definition

Gets a value that describes whether the current display settings can be overridden.

public:
 property bool CanOverride { bool get(); };
bool CanOverride();
public bool CanOverride { get; }
var boolean = displayEnhancementOverride.canOverride;
Public ReadOnly Property CanOverride As Boolean

Property Value

Boolean

bool

True if the DisplayEnhancementOverride object can successfully override the system's brightness and/or color with its current configuration at the moment that CanOverrideis queried. This can be used to test if override control can be obtained without having to call RequestOverride.

Applies to