Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+

TableCell Members

Represents a single table cell.

Properties

Name Description
BackgroundColor Gets or sets the color of the cell background.
Borders Provides access to a TableCellBorders interface that describes all the borders for the specified cell.
BottomPadding Gets or sets the amount of space below the contents of a single cell in a table.
ColumnSpan Gets the number of columns that the cell spans.
ContentRange Gets the document range occupied by the cell content.
Height Gets or sets the height of a table cell.
HeightType Gets or sets the type of a rule used to determine the height of a cell.
Index Gets the zero-based index of the cell in a row.
LeftPadding Gets or sets the amount of space to the left of the contents of a single cell in a table.
NestingLevel Gets the nesting level of the table containing a current cell.
Next Gets the next cell in a row.
PreferredWidth Gets or sets the numerical value of the preferred width.
PreferredWidthType Gets or sets how the width of a cell is determined if Preferred Width is specified.
Previous Gets the previous cell in a row.
Range Gets a document range occupied by the current cell.
RightPadding Gets or sets the amount of space to the right of the contents of a single cell in a table.
Row Gets the row to which the current cell belongs.
Style Gets or sets the style applied to a cell in a table of a Snap application.
Table Provides access to the parent table.
TopPadding Gets or sets the amount of space above the contents of a single cell in a table.
VerticalAlignment Gets or sets the vertical justification of content inside a table cell.
VerticalMerging Obtains the vertical merge state of the current cell (whether the cell is merged vertically) and its relative position in a merged object.
WordWrap Gets or sets whether the text is wrapped to multiple lines and the cell height is increased to fit the content so that the cell width remains the same.

Methods

Name Description
Delete() Deletes a cell and shifts the next cell to the left.
Split(Int32, Int32) Splits a single table cell into multiple cells.
See Also