ContentIsland.CreateForSystemVisual(DispatcherQueue, Visual) Method

Definition

Creates a new ContentIsland instance in a disconnected and empty state for a system (Windows.UI.Composition) Visual.

public:
 static ContentIsland ^ CreateForSystemVisual(DispatcherQueue ^ queue, Visual ^ root);
 static ContentIsland CreateForSystemVisual(DispatcherQueue const& queue, Visual const& root);
public static ContentIsland CreateForSystemVisual(DispatcherQueue queue, Visual root);
function createForSystemVisual(queue, root)
Public Shared Function CreateForSystemVisual (queue As DispatcherQueue, root As Visual) As ContentIsland

Parameters

queue
DispatcherQueue

The DispatcherQueue associated with the current thread.

root
Visual

The system Visual that is the root of the visual tree.

Returns

A new ContentIsland for the specified system Visual.

Remarks

Use this method when working with a system Visual (Windows.UI.Composition.Visual). When working with a **Microsoft**.UI.Composition.Visual, use the Create method.

Applies to