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

Glossary Item Box

Gets the parent element.

Syntax

C# 
public HtmlElement ParentElement {get;}

Property Value

Type: Zennolab.CommandCenter.HtmlElement

The parent element.

Example

The following code example uses the ParentElement property.
C#Copy Code
HtmlElement he = tab.MainDocument.FindElementByAttribute("input:checkbox", "fulltag", "input:checkbox", "text", 0);
            
HtmlElement parentElement = he.ParentElement;
PHPCopy Code
$he = $tab->MainDocument->FindElementByAttribute("input:checkbox", "fulltag", "input:checkbox", "text", 0);
            
$parentElement = $he->ParentElement;

Requirements

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

See Also

© 2012 All Rights Reserved.