Class
InsertCrossReferenceWindowContext

Represents the context for the Insert Cross Reference window in the Telerik UI. This class provides the necessary information and methods to manage and process cross-reference insertions.

Definition

Namespace:Telerik.Windows.Documents.UI.Extensibility

Assembly:Telerik.Windows.Controls.RichTextBox.dll

Syntax:

cs-api-definition
public class InsertCrossReferenceWindowContext

Inheritance: objectInsertCrossReferenceWindowContext

Constructors

InsertCrossReferenceWindowContext(RadDocument)

Declaration

cs-api-definition
public InsertCrossReferenceWindowContext(RadDocument document)

Parameters

document

RadDocument

Properties

Document

Represents the context for the Insert Cross Reference window.

Declaration

cs-api-definition
public RadDocument Document { get; }

Property Value

RadDocument

Methods

InsertCaptionReferenceField(ReferenceFieldBase, FieldRangeStart, ReferenceContentType)

Inserts a caption reference field into the document at the specified location.

Declaration

cs-api-definition
public void InsertCaptionReferenceField(ReferenceFieldBase field, FieldRangeStart sequenceFieldStart, ReferenceContentType referenceContentType)

Parameters

field

ReferenceFieldBase

The reference field to be inserted.

sequenceFieldStart

FieldRangeStart

The starting range for the field insertion.

referenceContentType

ReferenceContentType

The type of content to be referenced.

InsertHeadingReferenceField(ReferenceFieldBase, Paragraph, ReferenceContentType)

Inserts a heading reference field into a specified paragraph.

Declaration

cs-api-definition
public void InsertHeadingReferenceField(ReferenceFieldBase field, Paragraph headingParagraph, ReferenceContentType referenceContentType)

Parameters

field

ReferenceFieldBase

The reference field to be inserted.

headingParagraph

Paragraph

The paragraph in which the heading reference field will be inserted.

referenceContentType

ReferenceContentType

The type of content that the reference field will point to.

InsertReferenceField(ReferenceFieldBase)

Inserts a reference field into the document.

Declaration

cs-api-definition
public void InsertReferenceField(ReferenceFieldBase field)

Parameters

field

ReferenceFieldBase

The reference field to be inserted.