Document.PreviousElementSibling

Document.PreviousElementSibling property

Returns the previous sibling element node of this element. null if this element has no element sibling nodes that come before this one in the document tree.

public Element PreviousElementSibling { get; }

See Also