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

ADD
Show: