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

Property Value

Type: Zennolab.CommandCenter.HtmlElement

The parent body.

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

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

See Also

Reference

HtmlElement Class
HtmlElement Members
ParentDocument Property
ParentElement Property
ParentForm Property
ParentTab Property