XamlLight.CompositionLight 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 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.