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

Glossary Item Box

Gets the parent form.

Syntax

C# 
public HtmlElement ParentForm {get;}

Property Value

Type: Zennolab.CommandCenter.HtmlElement

The parent form.

Example

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

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.