AbstractRange Class

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

public abstract class AbstractRange

Properties

NameDescription
CollapsedGets a value indicating whether the start and the end of the range are the same point.
EndContainerGets the node in which the range ends.
EndOffsetGets the offset of the end of the range within endContainer.
StartContainerGets the node in which the range starts.
StartOffsetGets the offset of the start of the range within startContainer.

Collapsed

Range.cs

Gets a value indicating whether the start and the end of the range are the same point.

public bool Collapsed { get; }

EndContainer

Range.cs

Gets the node in which the range ends.

public Node EndContainer { get; }

EndOffset

Range.cs

Gets the offset of the end of the range within endContainer.

public uint EndOffset { get; }

StartContainer

Range.cs

Gets the node in which the range starts.

public Node StartContainer { get; }

StartOffset

Range.cs

Gets the offset of the start of the range within startContainer.

public uint StartOffset { get; }