| ZennoLab.CommandCenter Assembly > ZennoLab.CommandCenter Namespace > HtmlElement Class : ParentElement Property |
public HtmlElement ParentElement {get;}
Type: Zennolab.CommandCenter.HtmlElement
The parent element.
// find element HtmlElement he = tab.GetDocumentByAddress("0").FindElementByAttribute("input:checkbox", "fulltag", "input:checkbox", "text", 0); // get parent element HtmlElement parentElement = he.ParentElement;
// find element $he = $tab->GetDocumentByAddress("0")->FindElementByAttribute("input:checkbox", "fulltag", "input:checkbox", "text", 0); // get parent element $parentElement = $he->ParentElement;
Target Platforms: Desktop: Windows XP SP3 and older. Server: Windows Server 2003 and older.