CompositionLight.IsEnabled Eigenschaft

Definition

Ruft einen Wert ab, der bestimmt, ob die Kompositionsleuchte leuchtet, oder legt diesen fest.

public:
 property bool IsEnabled { bool get(); void set(bool value); };
bool IsEnabled();

void IsEnabled(bool value);
public bool IsEnabled { get; set; }
var boolean = compositionLight.isEnabled;
compositionLight.isEnabled = boolean;
Public Property IsEnabled As Boolean

Eigenschaftswert

Boolean

bool

true , wenn das Licht leuchtet; Andernfalls false. Der Standardwert ist true.

Windows-Anforderungen

Gerätefamilie
Windows 10, version 1803 (eingeführt in 10.0.17134.0)
API contract
Windows.Foundation.UniversalApiContract (eingeführt in v6.0)

Gilt für: