Esempio n. 1
0
        public static IMatrixHeader CreateEmptyHeader(int row, int column, int rowSpan = 1, int columnSpan = 1)
        {
            MatrixHeaderCell cell = new MatrixHeaderCell(MatrixCellType.Empty);

            cell.SetGridProperties(row, column, rowSpan, columnSpan);
            return(cell);
        }
Esempio n. 2
0
        public static IMatrixHeader CreateColumnSummaryHeader(string header, int row, int column, int rowSpan = 1, int columnSpan = 1)
        {
            MatrixHeaderCell cell = new MatrixHeaderCell(MatrixCellType.ColumnSummaryHeader, header);

            cell.SetGridProperties(row, column, rowSpan, columnSpan);
            return(cell);
        }
Esempio n. 3
0
        public static IMatrixHeader CreateRowsGroupHeader(string header, int row, int column, int rowSpan = 1, int columnSpan = 1, System.Collections.Generic.IList <IMatrixHeader> children = null)
        {
            MatrixHeaderCell cell = new MatrixHeaderCell(MatrixCellType.RowsGroupHeader, header)
            {
                Children = children
            };

            cell.SetGridProperties(row, column, rowSpan, columnSpan);
            return(cell);
        }