ZennoLab.CommandCenter Assembly > ZennoLab.CommandCenter Namespace > HtmlElement Class : PreviousSibling Property |
public HtmlElement PreviousSibling {get;}
Type: Zennolab.CommandCenter.HtmlElement
The previous element.
// find element HtmlElement he = tab.GetDocumentByAddress("0").FindElementByAttribute("input:checkbox", "fulltag", "input:checkbox", "text", 0); // get previous element HtmlElement prevElement = he.PreviousSibling;
// find element $he = $tab->GetDocumentByAddress("0")->FindElementByAttribute("input:checkbox", "fulltag", "input:checkbox", "text", 0); // get previous element $prevElement = $he->PreviousSibling;
Target Platforms: Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows Seven