Share via


LampArrayColorRampEffect.CompletionBehavior Property

Definition

Gets or sets the behavior when effect completes.

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

void CompletionBehavior(LampArrayEffectCompletionBehavior value);
public LampArrayEffectCompletionBehavior CompletionBehavior { get; set; }
var lampArrayEffectCompletionBehavior = lampArrayColorRampEffect.completionBehavior;
lampArrayColorRampEffect.completionBehavior = lampArrayEffectCompletionBehavior;
Public Property CompletionBehavior As LampArrayEffectCompletionBehavior

Property Value

Default is ClearState

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

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.

Applies to

See also