LampArray.IsEnabled 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 the enabled state.
public:
property bool IsEnabled { bool get(); void set(bool value); };
bool IsEnabled();
void IsEnabled(bool value);
public bool IsEnabled { get; set; }
var boolean = lampArray.isEnabled;
lampArray.isEnabled = boolean;
Public Property IsEnabled As Boolean
Property Value
bool
True if the device is enabled; otherwise false.
Examples
Demonstrates how to control RGB lighting of peripheral devices using the Windows.Devices.Lights and Windows.Devices.Lights.Effects APIs.
Demonstrates how to extract a single, representative color from a desktop screen and use it to illuminate LED lamps on a connected RGB device.
Remarks
When disabled, state for a lamp index can be set internally, but will not be sent to the device. When set back to enabled, modified state is flushed to the device.
By default, LampArray is always enabled.