LampArrayBlinkEffect.SustainDuration Property

Definition

Gets or sets the time spent displaying peak intensity for the effect.

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

void SustainDuration(TimeSpan value);
public System.TimeSpan SustainDuration { get; set; }
var timeSpan = lampArrayBlinkEffect.sustainDuration;
lampArrayBlinkEffect.sustainDuration = timeSpan;
Public Property SustainDuration As TimeSpan

Property Value

Time value of time spent displaying peak intensity of an effect. Default value is 0.

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