Share via

HtmlElement.Parent Property

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Gets a reference to the parent of the current HTML element.

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


Public ReadOnly Property Parent As HtmlElement
public HtmlElement Parent { get; }

Property Value

Type: System.Windows.Browser.HtmlElement
An HTML element reference if the element has a parent; otherwise, nulla null reference (Nothing in Visual Basic).

Version Information


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.