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

Glossary Item Box

Gets the last child element.

Syntax

C# 
public HtmlElement LastChild {get;}

Property Value

Type: Zennolab.CommandCenter.HtmlElement

The last child element.

Example

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

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.