ZennoLab Assemblies Documentation
ParentDocument Property (Document)
Example 
ZennoLab.CommandCenter Namespace > Document Class : ParentDocument Property
Gets parent document of the document.
Syntax
public Document ParentDocument {get;}

Property Value

Type: Zennolab.CommandCenter.Document

The parent document of the document.

Example
The following code example uses the ParentDocument property.
// get element
var el = tab.FindElementById("arrow");
 
// get parent document of document
var pDoc = el.ParentDocument.ParentDocument;
// get element
$el = $tab->FindElementById("arrow");
 
// get parent tab of document
$pDoc = $el->ParentDocument->ParentDocument;
Requirements

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

See Also

Reference

Document Class
Document Members