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

Represents the context for the Insert Table of Contents dialog. This class provides functionality to manage the user interface for inserting a table of contents within a document, allowing users to configure various options related to the table appearance and behavior.

Definition

Namespace:Telerik.Windows.Documents.UI.Extensibility

Assembly:Telerik.Windows.Controls.RichTextBox.dll

Syntax:

C#
public class InsertTableOfContentsDialogContext

Inheritance: objectInsertTableOfContentsDialogContext

Constructors

C#
public InsertTableOfContentsDialogContext(RadDocument document)
Parameters:documentRadDocument

Properties

Represents the context for the Insert Table of Contents dialog in the Telerik Windows Documents UI.

C#
public RadDocument Document { get; set; }

Methods

Inserts a Table of Contents field into the document context.

C#
public void InsertField(TableOfContentsField field)
Parameters:fieldTableOfContentsField

The Table of Contents field to be inserted.