HtmlElement.Children Property


Gets a read-only collection of HTML elements that are immediate descendants of the current HTML element.

Namespace:  System.Windows.Browser
Assembly:  System.Windows.Browser (in System.Windows.Browser.dll)

public ScriptObjectCollection Children { get; }

Property Value

Type: System.Windows.Browser.ScriptObjectCollection
A collection of HTML elements. If the current HTML element has no children, the returned collection is empty.

To modify the children of the current HTML element, use the AppendChild(HtmlElement), AppendChild(HtmlElement, HtmlElement), and RemoveChild methods.


Supported in: 5, 4, 3

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions