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

Specifies a table's dimensions and whether a paragraph is inserted before it.

Definition

Namespace:Telerik.WinForms.Documents.RichTextBoxCommands

Assembly:Telerik.WinControls.RichTextEditor.dll

Syntax:

C#
public class InsertTableCommandParameter

Inheritance: objectInsertTableCommandParameter

Constructors

Initializes the parameter for a one-row, one-column table without an extra paragraph before it.

C#
public InsertTableCommandParameter()

Initializes the parameter for the specified dimensions and paragraph-placement option.

C#
public InsertTableCommandParameter(int rowsCount, int columnsCount, bool insertParagraphBeforeTable)
Parameters:rowsCountint

The number of rows to create.

columnsCountint

The number of columns to create.

insertParagraphBeforeTablebool

true to insert a new paragraph before the table; otherwise, false.

Initializes the parameter for the specified dimensions without an extra paragraph before the table.

C#
public InsertTableCommandParameter(int rowsCount, int columnsCount)
Parameters:rowsCountint

The number of rows to create.

columnsCountint

The number of columns to create.

Properties

Gets or sets the number of columns to create.

C#
public int CoumnsCount { get; set; }

Gets or sets whether a new paragraph is inserted before the table.

C#
public bool InsertParagraphBeforeTable { get; set; }

Gets or sets the number of rows to create.

C#
public int RowsCount { get; set; }