Table of Contents

Class RichBlockSelection

Namespace
RichEdit.Core
Assembly
RichEdit.Core.dll

A contiguous inclusive range of complete blocks in one story, table cell, or list item.

public sealed record RichBlockSelection : RichSelection, IEquatable<RichSelection>, IEquatable<RichBlockSelection>
Inheritance
RichBlockSelection
Implements
Inherited Members

Remarks

Whole-document selection uses the body's first and last blocks. Removing blocks is distinct from clearing table cells.

Constructors

RichBlockSelection(RichNodeId, RichNodeId, RichNodeId)

A contiguous inclusive range of complete blocks in one story, table cell, or list item.

public RichBlockSelection(RichNodeId Parent, RichNodeId First, RichNodeId Last)

Parameters

Parent RichNodeId
First RichNodeId
Last RichNodeId

Remarks

Whole-document selection uses the body's first and last blocks. Removing blocks is distinct from clearing table cells.

Properties

First

public RichNodeId First { get; init; }

Property Value

RichNodeId

Last

public RichNodeId Last { get; init; }

Property Value

RichNodeId

Parent

public RichNodeId Parent { get; init; }

Property Value

RichNodeId