New to Telerik UI for WPFStart a free 30-day trial

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:

C#
public class InsertCrossReferenceWindowContext

Inheritance: objectInsertCrossReferenceWindowContext

Constructors

C#
public InsertCrossReferenceWindowContext(RadDocument document)
Parameters:documentRadDocument

Properties

Represents the context for the Insert Cross Reference window.

C#
public RadDocument Document { get; }

Methods

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

C#
public void InsertCaptionReferenceField(ReferenceFieldBase field, FieldRangeStart sequenceFieldStart, ReferenceContentType referenceContentType)
Parameters:fieldReferenceFieldBase

The reference field to be inserted.

sequenceFieldStartFieldRangeStart

The starting range for the field insertion.

referenceContentTypeReferenceContentType

The type of content to be referenced.

Inserts a heading reference field into a specified paragraph.

C#
public void InsertHeadingReferenceField(ReferenceFieldBase field, Paragraph headingParagraph, ReferenceContentType referenceContentType)
Parameters:fieldReferenceFieldBase

The reference field to be inserted.

headingParagraphParagraph

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

referenceContentTypeReferenceContentType

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

Inserts a reference field into the document.

C#
public void InsertReferenceField(ReferenceFieldBase field)
Parameters:fieldReferenceFieldBase

The reference field to be inserted.