New to Telerik UI for WinForms? Start a free 30-day trial

Supplies the owning editor and insertion callback to an IInsertTableDialog implementation.

Definition

Namespace:Telerik.WinForms.Documents.UI.Extensibility

Assembly:Telerik.WinControls.RichTextEditor.dll

Syntax:

C#
public class InsertTableDialogContext

Inheritance: objectInsertTableDialogContext

Constructors

Initializes a new instance of the InsertTableDialogContext class.

C#
public InsertTableDialogContext(Action<int, int, bool> insertTableCallback, RadRichTextBox owner)
Parameters:insertTableCallbackAction<int, int, bool>

The insert table callback. First parameter specifies rows; second parameter specifies columns; the third parameter specifies if paragraphs should be inserted before table when it is in the start of block container.

ownerRadRichTextBox

The owner of the dialog.

Properties

Gets the callback that inserts a table using its row count, column count, and whether to insert a paragraph before it at the start of a block container.

C#
public Action<int, int, bool> InsertTableCallback { get; }

Gets the RichTextBox that opened the insert-table dialog.

C#
public RadRichTextBox Owner { get; }