LampArray.IsAvailable 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 whether the lamp array is available or unavailable for control by this process.
public:
property bool IsAvailable { bool get(); };
bool IsAvailable();
/// [Windows.Foundation.Metadata.Experimental]
/// [get: Windows.Foundation.Metadata.Experimental]
bool IsAvailable();
public bool IsAvailable { get; }
[Windows.Foundation.Metadata.Experimental]
public bool IsAvailable { [Windows.Foundation.Metadata.Experimental] get; }
var boolean = lampArray.isAvailable;
Public ReadOnly Property IsAvailable As Boolean
Property Value
bool
True, if the lamp array is available. Otherwise, false.
- Attributes
Windows requirements
Device family |
Windows 11 Insider Preview (introduced in 10.0.23504.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v15.0)
|
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.