ZennoLab Assemblies Documentation
ParentTab Property (HtmlElement)
Example 
ZennoLab.CommandCenter Namespace > HtmlElement Class : ParentTab Property
Gets the parent tab.
Syntax
public Tab ParentTab {get;}

Property Value

Type: Zennolab.CommandCenter.Tab

The parent tab.

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

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

See Also

Reference

HtmlElement Class
HtmlElement Members
Tab Class
ParentBody Property
ParentDocument Property
ParentElement Property
ParentForm Property