Share via


LampArraySolidEffect.Color Property

Definition

Gets or sets the solid color of the effect.

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

void Color(Color value);
public Color Color { get; set; }
var color = lampArraySolidEffect.color;
lampArraySolidEffect.color = color;
Public Property Color As Color

Property Value

The Color value. Default is Black

Examples

LampArray sample

Demonstrates how to control RGB lighting of peripheral devices using the Windows.Devices.Lights and Windows.Devices.Lights.Effects APIs.

AutoRGB Sample

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

After you've appended (see Append) an effect to a LampArrayEffectPlaylist, the value of this property is locked, and you can no longer change it.

Applies to

See also