INonDocumentTypeChildNode Interface

https://dom.spec.whatwg.org/#interface-nondocumenttypechildnode

public interface INonDocumentTypeChildNode

Properties

NameDescription
NextElementSiblingGets the closest following sibling that is an element, or null when there is none.
PreviousElementSiblingGets the closest preceding sibling that is an element, or null when there is none.

NextElementSibling

Gets the closest following sibling that is an element, or null when there is none.

Element? NextElementSibling { get; }

PreviousElementSibling

Gets the closest preceding sibling that is an element, or null when there is none.

Element? PreviousElementSibling { get; }