[]
        
(Showing Draft Content)

C1.C1Preview.RenderTable

RenderTable Class

Represents a table in a C1PrintDocument.

Inheritance
RenderTable
Namespace: C1.C1Preview
Assembly: C1.PrintDocument.8.dll
Syntax
public class RenderTable : RenderObject, IStyleOwner, IDocumentLocation

Constructors

Name Description
RenderTable()

Initializes a new instance of the RenderTable class.

RenderTable(int, int)

Initializes a new instance of the RenderTable class, assigning the row and column counts (see Count).

Properties

Name Description
CellStyle

Gets the Style of objects contained in the cells of the current table. See CellStyle for details.

Cells

Gets the collection of cells of the current RenderTable. Getting a cell with arbitrary row and column indices on this collection always returns a TableCell object, initializing it if necessary.

ColGroups

Gets the collection of column groups defined on the current RenderTable.

Cols

Gets the collection of columns of the current RenderTable. Getting a column with an arbitrary index on this collection always returns a TableCol object, initializing it if necessary.

ColsCanSplit

Gets or sets a value indicating whether table columns can split between pages (you can override this value for individual columns using CanSplit property). The default is false.

ColsSplitBehavior

Gets or sets a value determining how a table column is treated when it is too wide to fit in the horizontal space available on the current page. (you can override this value for individual columns using SplitBehavior property).

The default is Never.

ColumnSizingMode

Gets or sets a value determining how the widths of table columns are calculated. The default is Fixed.

DataBindingMode

Gets a combination of DataBindingModeEnum flags specifying the data binding mode of the current object. Takes into consideration data binding of row and column groups.

HorzPageFooterOnLastPage

Gets or sets a value indicating whether a horizontal page footer, if defined (see remarks), should be printed on the last of the pages spanned by the current table.

HorzPageHeaderOnFirstPage

Gets or sets a value indicating whether a horizontal page header, if defined (see remarks), should be printed on the first of the pages spanned by the current table.

RepeatGridLinesHorz

Gets or sets a value indicating whether horizontal gridlines (see GridLines) should be drawn when the current table is split between two or more pages.

RepeatGridLinesVert

Gets or sets a value indicating whether vertical gridlines (see GridLines) should be drawn when the current table is split between two or more horizontal (extender) pages.

RowGroups

Gets the collection of row groups defined on the current RenderTable.

RowSizingMode

Gets or sets a value determining how the heights of table rows are calculated. The default is Auto.

Rows

Gets the collection of rows of the current RenderTable. Getting a row with an arbitrary index on this collection always returns a TableRow object, initializing it if necessary.

RowsCanSplit

Gets or sets a value indicating whether table rows can split between pages (you can override this value for individual rows using CanSplit property). The default is false.

RowsSplitBehavior

Gets or sets a value determining how a table row is treated when it is too high to fit in the vertical space available on the current page. (you can override this value for individual rows using SplitBehavior property).

The default is Never.

Stretch

Obsolete. Use StretchColumns instead.

StretchColumns

Gets or sets the mode of stretching the columns of the current table when filling an empty space on the right of the table.

StretchRows

Gets or sets the mode of stretching the rows of the current table when filling an empty space below the table.

UserCellGroups

Gets the collection of UserCellGroup objects defined on the current table.

VertPageFooterOnLastPage

Gets or sets a value indicating whether a vertical page footer, if defined (see remarks), should be printed on the last of the horizontal pages spanned by the current table.

VertPageHeaderOnFirstPage

Gets or sets a value indicating whether a vertical page header, if defined (see remarks), should be printed on the first of the horizontal pages spanned by the current table.

Methods

Name Description
AssignFrom(RenderObject, bool, bool, bool, bool, bool, bool)

Assigns (copies) properties from another RenderObject to the current object. Calls the base AssignFrom(RenderObject, bool, bool, bool, bool, bool, bool) method. If source is a RenderTable, also copies RenderTable-specific properties.

AssignFrom(RenderObject, bool, bool, bool, bool, bool, bool, bool)

Assigns (copies) properties from another RenderObject to the current object. Calls the base AssignFrom(RenderObject, bool, bool, bool, bool, bool, bool) method. If source is a RenderTable, also copies RenderTable-specific properties.

CreateSame()

Creates new empty RenderTable object linked with same C1PrintDocument as current object.

ShouldSerializeCellStyle()

Indicates whether the CellStyle property should be serialized.

See Also