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:
public class InsertCrossReferenceWindowContext
Inheritance: objectInsertCrossReferenceWindowContext
Constructors
Properties
Represents the context for the Insert Cross Reference window.
public RadDocument Document { get; }
Methods
Inserts a caption reference field into the document at the specified location.
public void InsertCaptionReferenceField(ReferenceFieldBase field, FieldRangeStart sequenceFieldStart, ReferenceContentType referenceContentType)
The reference field to be inserted.
sequenceFieldStartFieldRangeStartThe starting range for the field insertion.
referenceContentTypeReferenceContentTypeThe type of content to be referenced.
Inserts a heading reference field into a specified paragraph.
public void InsertHeadingReferenceField(ReferenceFieldBase field, Paragraph headingParagraph, ReferenceContentType referenceContentType)
The reference field to be inserted.
headingParagraphParagraphThe paragraph in which the heading reference field will be inserted.
referenceContentTypeReferenceContentTypeThe type of content that the reference field will point to.
Inserts a reference field into the document.
public void InsertReferenceField(ReferenceFieldBase field)
The reference field to be inserted.