Share via


XamlLight.CompositionLight Property

Definition

Gets or sets the CompositionLight instance used to apply lighting effects.

protected:
 property CompositionLight ^ CompositionLight { CompositionLight ^ get(); void set(CompositionLight ^ value); };
CompositionLight CompositionLight();

void CompositionLight(CompositionLight value);
protected CompositionLight CompositionLight { get; set; }
Protected Property CompositionLight As CompositionLight

Property Value

An instance of a CompositionLight derived class used to apply lighting effects.

Remarks

It's usually a good practice to manage the lifetime of the CompositionLight object by delaying its creation until needed and disposing of it when no longer in use.

Applies to