예제 #1
0
        internal FlexGridPanel(FlexGrid grid, CellType cellType, int rowHeight, int colWidth)
        {
            _grid      = grid;
            _cellType  = cellType;
            _cells     = new CellRangeDictionary();
            _rowsDict  = new RowsDictionary();
            _viewRange = CellRange.Empty;

            Rows                = new Rows(this, rowHeight);
            Columns             = new Columns(this, colWidth);
            HorizontalAlignment = HorizontalAlignment.Left;
            VerticalAlignment   = VerticalAlignment.Top;
            UseLayoutRounding   = false;
        }
예제 #2
0
 public CellPanel(FlexGrid grid, CellType cellType, int rowHeight, int colWidth) : base(grid, cellType, rowHeight, colWidth)
 {
     _rows = new RowsDictionary();
 }