Supplies a document and field-insertion operation to a table-of-contents dialog.
Definition
Namespace:Telerik.WinForms.Documents.UI.Extensibility
Assembly:Telerik.WinControls.RichTextEditor.dll
Syntax:
C#
public class InsertTableOfContentsDialogContext
Inheritance: objectInsertTableOfContentsDialogContext
Constructors
Initializes a context for the specified document.
C#
public InsertTableOfContentsDialogContext(RadDocument document)
The document whose content the dialog reads and updates.
Properties
Gets or sets the document into which the selected table field is inserted.
C#
public RadDocument Document { get; set; }
Methods
Inserts the field at the document editor's current insertion point and displays its result.
C#
public void InsertField(TableOfContentsField field)
The table-of-contents or table-of-figures field to insert.