Compositor.CreateLayerVisual Method

Definition

Creates an instance of LayerVisual.

Equivalent WinUI method: Microsoft.UI.Composition.Compositor.CreateLayerVisual.

public:
 virtual LayerVisual ^ CreateLayerVisual() = CreateLayerVisual;
LayerVisual CreateLayerVisual();
public LayerVisual CreateLayerVisual();
function createLayerVisual()
Public Function CreateLayerVisual () As LayerVisual

Returns

LayerVisual

Returns the created LayerVisual object.

Windows requirements

Device family
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v3.0)

Applies to