ZennoLab Assemblies Documentation
FirstChild Property (HtmlElement)
Example 
ZennoLab.CommandCenter Namespace > HtmlElement Class : FirstChild Property
Gets the first child element.
Syntax
public HtmlElement FirstChild {get;}

Property Value

Type: Zennolab.CommandCenter.HtmlElement

The first child element.

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

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

See Also

Reference

HtmlElement Class
HtmlElement Members
LastChild Property
NextSibling Property
PreviousSibling Property
GetChildren Method