[]
        
(Showing Draft Content)

C1.C1Preview.UserCellGroup

UserCellGroup Class

Represents a (possibly sparse) user-defined group of cells (objects of type TableCell) in a RenderTable.

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

Constructors

Name Description
UserCellGroup(Point)

Initializes a new instance of the UserCellGroup class, includes a single cell identified by its coordinates, in the group.

UserCellGroup(params Point[])

Initializes a new instance of the UserCellGroup class, includes a range of cells identified by a list of cell coordinates, in the group.

UserCellGroup(Rectangle)

Initializes a new instance of the UserCellGroup class, includes a range of cells identified by a rectangular area, in the group.

UserCellGroup(params Rectangle[])

Initializes a new instance of the UserCellGroup class, includes a range of cells identified by a list of rectangular areas, in the group.

UserCellGroup(params object[])

Initializes a new instance of the UserCellGroup class, includes a range of cells identified by a list of rectangular areas or individual cell coordnates, in the group.

Properties

Name Description
CellStyle

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

Owner

Gets the UserCellGroupCollection containing the current cell group.

Ranges

Gets an array of Rectangle structures identifying all cells included in the current group. For details, UserCellGroup(Rectangle) (lone cells are represented by rectangles with both dimensions set to 1).

Style

Gets the Style of the current cell group.

Table

Gets the RenderTable containing the current cell group.

Methods

Name Description
AssignFrom(UserCellGroup)

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

ContainsCell(int, int)

Tests whether the current cell group contains a cell with the specified row and column indices.

ShouldSerializeCellStyle()

Indicates whether the CellStyle property should be serialized.

ShouldSerializeStyle()

Indicates whether the Style property should be serialized.