CompositionTarget.Root 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.
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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for