Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Root

Silverlight

Gets the object that is at the content root for the current Silverlight plug-in.

value = silverlightObject.content.Root

Type: UIElement

This property is read-only. The default value is null.

This property is available on the content subobject of a Silverlight plug-in instance.

References to the root object are useful when you want to add children to content.

You cannot use this property to reset the content root at run time. You must reset Source instead. However, note that resetting Source has performance consequences, because it requires reloading the plug-in as well as the content.

Community Additions

Show:
© 2017 Microsoft