CompositionLight.IsEnabled CompositionLight.IsEnabled CompositionLight.IsEnabled CompositionLight.IsEnabled Property

Definition

Gets or sets a value that determines whether the composition light is on.

public : Platform::Boolean IsEnabled { get; set; }
bool IsEnabled();

void IsEnabled(bool isenabled);
public bool IsEnabled { get; set; }
Public ReadWrite Property IsEnabled As bool

Property Value

bool bool

true if the light is on; otherwise, false. The default is true.

Additional features and requirements

Device family
Windows 10, version 1803 (introduced v10.0.17134.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v6)