ContentIsland.Create(Visual) Method

Definition

Creates a ContentIsland in a disconnected and empty state.

public:
 static ContentIsland ^ Create(Visual ^ Root);
 static ContentIsland Create(Visual const& Root);
public static ContentIsland Create(Visual Root);
function create(Root)
Public Shared Function Create (Root As Visual) As ContentIsland

Parameters

Root
Visual

The root of the visual tree.

Returns

A ContentIsland.

Remarks

The root visual's Microsoft.UI.Composition.Compositor must be associated with the current thread.

Applies to