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