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

Glossary Item Box

Gets parent tab of the document.

Syntax

C# 
public Tab ParentTab {get;}

Property Value

Type: Zennolab.CommandCenter.Tab

The parent tab of the document.

Example

The following code example uses the ParentTab property.
C#Copy Code
// get document
Document doc = tab.MainDocument;
 
// get parent tab of document
Tab pTab = doc.ParentTab;
PHPCopy Code
// get document
$doc = $tab->MainDocument;
 
// get parent tab of document
$pTab = $doc->ParentTab;

Requirements

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

See Also

© 2013 All Rights Reserved.