Share via


CompositionTarget.Root Property

Definition

The root of the composition tree to display.

public:
 property Visual ^ Root { Visual ^ get(); void set(Visual ^ value); };
Visual Root();

void Root(Visual value);
public Visual Root { get; set; }
var visual = compositionTarget.root;
compositionTarget.root = visual;
Public Property Root As Visual

Property Value

The root of the composition tree to display.

Applies to