-api-id | -api-type | ms.custom |
---|---|---|
P:Windows.Devices.Lights.Effects.LampArrayColorRampEffect.CompletionBehavior |
winrt property |
RS5 |
Gets or sets the behavior when effect completes.
Default is ClearState
If within an LampArrayEffectPlaylist, behavior will be applied every time playlist repeats.
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.
:::row::: :::column:::
[LampArray sample](https://github.com/microsoft/Windows-universal-samples/tree/main/Samples/LampArray)
Demonstrates how to control RGB lighting of peripheral devices using the [**Windows.Devices.Lights**](/uwp/api/windows.devices.lights) and [**Windows.Devices.Lights.Effects**](/uwp/api/windows.devices.lights.effects) APIs.
:::column-end:::
:::column:::
[AutoRGB Sample](https://github.com/microsoft/Dynamic-Lighting-AutoRGB)
Demonstrates how to extract a single, representative color from a desktop screen and use it to illuminate LED lamps on a connected RGB device.
:::column-end:::
:::row-end:::