[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'Laz2_DOM' (#lazutils)

TDOMNode.GetLastLeaf

Gets the last node in the DOM sub-tree for the current node.

Declaration

Source position: laz2_dom.pas line 276

public function TDOMNode.GetLastLeaf: TDOMNode;

Function result

Last node in the DOM sub-tree for the current node.

Description

GetLastLeaf is a TDOMNode function used to the last node in the DOM node hierarchy for the current node.

The return value is Nil when LastChild has not been assigned for the current node. Otherwise, LastChild is called recursively until the given descendent node has no child nodes.

GetLastLeaf is used to implement the GetPreviousNode method.

See also

TDOMNode.LastChild

  

Gets the last child node for the current node.

TDOMNode.GetPreviousNode

  

Gets the previous node in the DOM node hierarchy.


Version 3.2 Generated 2024-02-25 Home