ZennoLab Assemblies Documentation
ParentTab Property
See Also  Example Send Feedback
ZennoLab.CommandCenter Assembly > ZennoLab.CommandCenter Namespace > HtmlElement Class : ParentTab Property

Glossary Item Box

Gets the parent tab.

Syntax

C# 
public Tab ParentTab {get;}

Property Value

Type: Zennolab.CommandCenter.Tab

The parent tab.

Example

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

Requirements

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

See Also

© 2014 All Rights Reserved.