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.
Inheritance
Namespace: Telerik.Windows.Documents.UI.Extensibility
Assembly: Telerik.Windows.Controls.RichTextBox.dll
Syntax
public class InsertCrossReferenceWindowContext : Object
Constructors
InsertCrossReferenceWindowContext(RadDocument)
Declaration
public InsertCrossReferenceWindowContext(RadDocument document)
Parameters
RadDocument
document
|
Properties
Document
Represents the context for the Insert Cross Reference window.
Declaration
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
public void InsertCaptionReferenceField(ReferenceFieldBase field, FieldRangeStart sequenceFieldStart, ReferenceContentType referenceContentType)
Parameters
ReferenceFieldBase
field
The reference field to be inserted. |
FieldRangeStart
sequenceFieldStart
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
public void InsertHeadingReferenceField(ReferenceFieldBase field, Paragraph headingParagraph, ReferenceContentType referenceContentType)
Parameters
ReferenceFieldBase
field
The reference field to be inserted. |
Paragraph
headingParagraph
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
public void InsertReferenceField(ReferenceFieldBase field)
Parameters
ReferenceFieldBase
field
The reference field to be inserted. |