[]
        
(Showing Draft Content)

C1.C1Preview.TableVectorGroup

TableVectorGroup Class

Represents a group of RenderTable rows or columns (see RowGroups and ColGroups).

Inheritance
TableVectorGroup
Namespace: C1.C1Preview
Assembly: C1.PrintDocument.8.dll
Syntax
[C1ClassSerialization(true)]
public class TableVectorGroup : IComparable, IStyleOwner, IDocumentLocation

Properties

Name Description
CanSplit

Gets or sets a value indicating whether the current group can split between pages. The default is true.

CellStyle

Gets the Style that is used to initialize CellStyle of cells in the current group.

ColumnFooter

Gets or sets a value indicating whether the current group should be repeated as a table footer on each column where the containing table is printed.

Only one row and column group in a table can has this property set to true.

ColumnHeader

Gets or sets a value indicating whether the current group should be repeated as a table header on each column where the containing table is printed.

Only one row and column group in a table can has this property set to true.

Count

Gets the number of rows or columns in the current group.

DataBinding

Gets an instance of C1DataBinding class representing the data binding properties of the current table row/column group.

DataBindingDefined

Gets a value indicating whether the current row/column group is data bound. Returns true if the group's DataBinding property has been initialized and its Mode is not None.

DataBindingMode

Gets a combination of DataBindingModeEnum flags specifying the data binding mode of the current row/column group.

Gets or sets flags indicating whether the current group should be treated as a table footer repeated on each page and/or column.

Header

Gets or sets flags indicating whether the current group should be treated as a table header repeated on each page and/or column.

LastPosition

Gets the 0-based index in the containing RenderTable of the last row or column in the current group.

MinVectorsAfter

Gets or sets the minimum number of rows or columns that must be printed on the same page after the current group, to allow a page break to be inserted.

MinVectorsBefore

Gets or sets the minimum number of rows or columns that must be printed on the same page before the current group, to allow a page break to be inserted.

Owner

Gets the TableVectorGroupCollection containing the current group.

Gets or sets a value indicating whether the current group should be repeated as a table footer on each page where the containing table is printed.

Only one row and column group in a table can has this property set to true.

PageHeader

Gets or sets a value indicating whether the current group should be repeated as a table header on each page where the containing table is printed.

Only one row and column group in a table can has this property set to true.

Position

Gets the 0-based index in the containing RenderTable of the first row or column in the current group.

SpanVectors

Gets or sets an array of table vectors' (rows or columns) ordinals that will span over the whole group. This property is used only in databound tables, and allows to specify the number of vectors in which the cells will be merged for the current vector group.

SplitBehavior

Gets or sets a value determining how the current group is treated when it is too high (if it is a group of rows) or too wide (if it is a group of columns) to fit in the vertical or horizontal space available on the current page.

The default value is SplitIfNeeded.

Style

Gets the Style associated with the current group. This style affects ambient and non-ambient attributes of the group as a whole, and ambient properties of the elements contained in the group.

Table

Gets the RenderTable containing the current group.

Methods

Name Description
AssignFrom(TableVectorGroup)

Assigns (copies) properties from another TableVectorGroup to the current object.

ShouldSerializeCellStyle()

Indicates whether the CellStyle property should be serialized.

ShouldSerializeStyle()

Indicates whether the Style property should be serialized.