View on GitHub

dotnet-eud

.NET Controls End-User Documentation

Table Tools: Layout

This toolbar is context sensitive, and becomes active after placing the text cursor in a document table.

The commands available in the Layout toolbar of the Table Tools category are divided into the following sections.

Table

| Command | Large Icon | Small Icon | Description | |—|—|—|—| | Select | icon-toolbar-table-tools-layout-select | icon-small-toolbar-table-tools-layout-select | Allows you to select a cell, row, column or table. | | View Gridlines | icon-toolbar-table-tools-layout-view-gridlines | icon-small-toolbar-table-tools-layout-view-gridlines | Shows or hides table gridlines. This command is useful when working with tables that contain invisible borders. These lines are only displayed in the Design Surface - they do not appear in a published document. | | Properties | icon-toolbar-table-tools-layout-properties | icon-small-toolbar-table-tools-layout-properties | Invokes the Table Properties dialog for the selected table. This dialog allows you to adjust the size and alignment properties of the current table cell, row, column or table. |

Rows & Columns

| Command | Large Icon | Small Icon | Description | |—|—|—|—| | Delete | icon-toolbar-table-tools-layout-delete | icon-small-toolbar-table-tools-layout-delete | Deletes the specified cells or the currently selected row, column or table. To delete a single table cell, the Delete Cells dialog is invoked that allows you to select the “shift” mode for replacing the deleted cell. To remove individual rows from a Snap List, use the Quick Filter command of the Data Tools: Field toolbar. | | Insert Above | icon-toolbar-table-tools-layout-insert-rows-above | icon-small-toolbar-table-tools-layout-insert-columns-above | Inserts a new row above the selected row. | | Insert Below | icon-toolbar-table-tools-layout-insert-rows-below | icon-small-toolbar-table-tools-layout-insert-columns-below | Inserts a new row below the selected row. | | Insert Left | icon-toolbar-table-tools-layout-insert-columns-left | icon-small-toolbar-table-tools-layout-insert-columns-left | Inserts a new column to the left of the selected column. | | Insert Right | icon-toolbar-table-tools-layout-insert-columns-right | icon-small-toolbar-table-tools-layout-insert-columns-right | Inserts a new column to the right of the selected column. |

Merge

| Command | Large Icon | Small Icon | Description | |—|—|—|—| | Merge Cells | icon-toolbar-table-tools-layout-merge-cells | icon-small-toolbar-table-tools-layout-merge-cells | Merges selected cells. The content of merged cells is converted to paragraphs of an output cell. | | Split Cells | icon-toolbar-table-tools-layout-split-cells | icon-small-toolbar-table-tools-layout-split-cells | Splits the selected cell into a specified number of rows and columns. The content of the source cell is placed in the top-left output cell. | | Split Table | icon-toolbar-table-tools-layout-split-table | icon-small-toolbar-table-tools-layout-split-table | Splits the table into two tables. The selected row becomes the first row of the new table. |

Cell Size

| Command | Large Icon | Small Icon | Description | |—|—|—|—| | AutoFit | icon-toolbar-table-tools-layout-auto-fit | icon-small-toolbar-table-tools-layout-auto-fit | Sets the auto fit mode of the selected table. The following auto fit modes are available: AutoFit Contents (table cells occupy the minimum width possible to fit content), AutoFit Window (the table occupies the entire width of the page), and Fixed Column Width (column width is fixed and can only be changed manually). |

Alignment

| Command | Large Icon | Small Icon | Description | |—|—|—|—| | Alignment | none | none | Sets the text alignment for selected cells. | | Cell Margins | icon-toolbar-table-tools-layout-cell-margins | icon-small-toolbar-table-tools-layout-cell-margins | Invokes the Table Options dialog, allowing you to set the default cell margins for the selected table cells. |