/// <summary> /// Returns the document element with the specified ID value. /// </summary> public CefDomNode GetElementById(string id) { fixed(char *id_str = id) { var n_id = new cef_string_t(id_str, id != null ? id.Length : 0); return(CefDomNode.From( cef_domdocument_t.invoke_get_element_by_id(this.ptr, &n_id) )); } }
/// <summary> /// Returns the selection start node. /// </summary> public CefDomNode GetSelectionStartNode() { return(CefDomNode.From( cef_domdocument_t.invoke_get_selection_start_node(this.ptr) )); }
/// <summary> /// Returns the node that currently has keyboard focus. /// </summary> public CefDomNode GetFocusedNode() { return(CefDomNode.From( cef_domdocument_t.invoke_get_focused_node(this.ptr) )); }
/// <summary> /// Returns the BODY node of an HTML document. /// </summary> public CefDomNode GetBody() { return(CefDomNode.From( cef_domdocument_t.invoke_get_body(this.ptr) )); }
/// <summary> /// Returns the HEAD node of an HTML document. /// </summary> public CefDomNode GetHead() { return(CefDomNode.From( cef_domdocument_t.invoke_get_head(this.ptr) )); }
/// <summary> /// Returns the last child node. /// </summary> public CefDomNode GetLastChild() { return(CefDomNode.From( cef_domnode_t.invoke_get_last_child(this.ptr) )); }
/// <summary> /// Returns the next sibling node. /// </summary> public CefDomNode GetNextSibling() { var n_result = cef_domnode_t.invoke_get_next_sibling(this.ptr); return(CefDomNode.From(n_result)); }
/// <summary> /// Returns the previous sibling node. /// </summary> public CefDomNode GetPreviousSibling() { var n_result = cef_domnode_t.invoke_get_previous_sibling(this.ptr); return(CefDomNode.From(n_result)); }
/// <summary> /// Returns the parent node. /// </summary> public CefDomNode GetParent() { var n_parent = cef_domnode_t.invoke_get_parent(this.ptr); return(CefDomNode.From(n_parent)); }
/// <summary> /// Returns the current target of the event. /// </summary> public CefDomNode GetCurrentTarget() { return(CefDomNode.From( cef_domevent_t.invoke_get_current_target(this.ptr) )); }