ZennoLab Assemblies Documentation
ParentDocument Property
Example 
Gets the parent document.
Syntax
public Document ParentDocument {get;}

Property Value

Type: Zennolab.CommandCenter.Document

The parent document.

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

Target Platforms: Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows Seven

See Also

Reference

HtmlElement Class
HtmlElement Members
Document Class
ParentBody Property
ParentElement Property
ParentForm Property
ParentTab Property

Send Feedback