ZennoLab Assemblies Documentation
LastChild Property
Example 
ZennoLab.CommandCenter Namespace > HtmlElement Class : LastChild Property
Gets the last child element.
Syntax
public HtmlElement LastChild {get;}

Property Value

Type: Zennolab.CommandCenter.HtmlElement

The last child element.

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

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

See Also

Reference

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