LampArrayCustomEffect.ZIndex 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.
The global precedence for two effects that modify the same lamp.
public:
property int ZIndex { int get(); void set(int value); };
int ZIndex();
void ZIndex(int value);
public int ZIndex { get; set; }
var int32 = lampArrayCustomEffect.zIndex;
lampArrayCustomEffect.zIndex = int32;
Public Property ZIndex As Integer
Property Value
int
Value of the global precedence. Default value is 0.
Implements
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
Higher zIndex implies higher precedence.
If two effects with the same zIndex operate on the same lamp (via two separate LampArrayEffectPlaylists), the behavior is undefined.