Back to Devexpress

Table Members

officefileapi-devexpress-dot-xtrarichedit-dot-api-dot-native-dot-table-dot-underscore-members.md

latest8.4 KB
Original Source

Table Members

Represents a single table.

Properties

NameDescription
BordersProvides access to the TableBorders interface exposing borders assigned to a table.
BottomPaddingGets or sets the space between the bottom border of a table cell and cell contents for all cells in a table.
DescriptionGets or sets the alternative description for a table.
FirstRowGets the first (uppermost) row of the table.
HorizontalAlignmentGets or sets how the table’s horizontal alignment.
IndentGets or sets the amount of indentation for a table.
IsWordCompatibleIndicates whether a document containing this table can be successfully opened in Microsoft Word.
Item[Int32, Int32]Gets a table cell by its row and column index.
LastRowGets the last row in a table.
LeftPaddingGets or sets the space between the left border of a table cell and cell contents for all cells in a table.
MarginBottomGets or sets the distance between the text and the bottom border of the table.
MarginLeftGets or sets the distance between the text and the left border of the table.
MarginRightGets or sets the distance between the text and the right border of the table.
MarginTopGets or sets the distance between the text and the top border of the table.
NestingLevelGets the nesting level of the current table.
OffsetXRelativeGets or sets the horizontal offset relative to the Table.RelativeHorizontalPosition.
OffsetYRelativeGets or sets the vertical offset relative to the Table.RelativeVerticalPosition.
ParentCellGets the cell containing the nested table.
PreferredWidthGets or sets the numerical value of the preferred width.
PreferredWidthTypeGets or sets how the width of a table is determined if Preferred Width is specified.
RangeGets a document range occupied by a table.
RelativeHorizontalPositionGets or sets to what the table’s horizontal position is relative.
RelativeVerticalPositionGets or sets to what the table’s vertical position is relative.
RightPaddingGets or sets the space between the right border of a table cell and cell contents for all cells in a table.
RightToLeftSpecifies whether to change the table layout’s direction to right-to-left.
RowsProvides access to a collection of table rows.
StyleGets or sets the style applied to the table.
TableAlignmentGets or sets the alignment of a table as a whole within the document.
TableBackgroundColorGets or sets the color of an empty space between cells.
TableCellSpacingGets or sets the amount of space in between the cells of a table.
TableLayoutGets or sets the algorithm which shall be used to lay out the contents of the current table within the document.
TableLookGets or sets the table style options that modify the table appearance.
TextWrappingTypeSpecifies the text wrapping type.
TitleGets or sets the alternative title for a table.
TopPaddingGets or sets the space between the top border of a table cell and cell contents for all cells in a table.
VerticalAlignmentGets or sets the table’s vertical alignment.

Methods

NameDescription
BeginUpdate()Locks the Table object. Prevents visual updates until the EndUpdate method calls.
Cell(Int32, Int32)Provides access to a cell in a table.
EndUpdate()Unlocks the Table object after you call BeginUpdate. It also causes an immediate visual update.
ForEachCell(TableCellProcessorDelegate)Performs the specified action on each cell in the table.
ForEachRow(TableRowProcessorDelegate)Enables you to specify a delegate which will be executed for each row of a table.
MakeWordCompatible()Merges all columns with indexes greater than 63 into a single column.
MergeCells(TableCell, TableCell)Merges the cells in the specified range into a single cell.
Reset()Resets table properties to values specified by the underlying style or to the default style values.
Reset(TablePropertiesMask)Resets the table properties specified by the mask to the properties of the underlying table style or to default properties.
SetPreferredWidth(Single, WidthType)Specifies the preferred width for the table in specified units.
Validate()Checks whether the current table instance is valid and usable.

See Also

Table Interface

DevExpress.XtraRichEdit.API.Native Namespace