LampArrayCustomEffect.Duration 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 or sets the duration of the effect.
public:
property TimeSpan Duration { TimeSpan get(); void set(TimeSpan value); };
TimeSpan Duration();
void Duration(TimeSpan value);
public System.TimeSpan Duration { get; set; }
var timeSpan = lampArrayCustomEffect.duration;
lampArrayCustomEffect.duration = timeSpan;
Public Property Duration As TimeSpan
Property Value
Time value of the duration. Default value is 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.
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.