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.
EndOffsetGets the offset of the end of the range within endContainer.
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; }

EndOffset

Range.cs

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

public uint EndOffset { get; }

StartOffset

Range.cs

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

public uint StartOffset { get; }