ZennoLab Assemblies Documentation
ParentElement Property
Example 
ZennoLab.CommandCenter Namespace > HtmlElement Class : ParentElement Property
Gets the parent element.
Syntax
public HtmlElement ParentElement {get;}

Property Value

Type: Zennolab.CommandCenter.HtmlElement

The parent element.

Example
The following code example uses the ParentElement property.
// find element
HtmlElement he = tab.GetDocumentByAddress("0").FindElementByAttribute("input:checkbox", "fulltag", "input:checkbox", "text", 0);
 
// get parent element
HtmlElement parentElement = he.ParentElement;
// find element
$he = $tab->GetDocumentByAddress("0")->FindElementByAttribute("input:checkbox", "fulltag", "input:checkbox", "text", 0);
 
// get parent element
$parentElement = $he->ParentElement;
Requirements

Target Platforms: Desktop: Windows XP SP3 and older. Server: Windows Server 2003 and older.

See Also

Reference

HtmlElement Class
HtmlElement Members
ParentBody Property
ParentDocument Property
ParentForm Property
ParentTab Property