Dela via


UIElement.Lights Property

Definition

Gets the collection of XamlLight objects attached to this element.

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 requirements

Device family
Windows 10 Creators Update (introduced in 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v4.0)

Applies to

See also