UIElement.Lights Property
Definition
Gets the collection of XamlLight objects attached to this element.
Equivalent WinUI property: Microsoft.UI.Xaml.UIElement.Lights.
public:
property IVector<XamlLight ^> ^ Lights { IVector<XamlLight ^> ^ get(); };
IVector<XamlLight> Lights();
public IList<XamlLight> Lights { get; }
var iVector = uIElement.lights;
Public ReadOnly Property Lights As IList(Of XamlLight)
<uielement>
<uielement.Lights>
oneOrMoreXamlLights
</uielement.Lights>
</uielement>
Property Value
The collection of XamlLight elements that apply to a UIElement.
Windows 10 requirements
Device family |
Windows 10 Creators Update (introduced in 10.0.15063.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v4.0)
|