Пример #1
0
        protected internal CellElement(CellView host, object row, Column column)
            : base(host)
        {
            m_Row = row;
              m_Column = column;
              m_Grid = column.Grid;

              m_Style = new Style(null, getBaseStyle());

              if (row == null) //if header cell
              {
            m_ColumnResizeElement = new ColumnResizeElement(host, this);
            m_ColumnResizeElement.ZOrder = 1;
              }
        }
Пример #2
0
 internal ColumnResizeElement(CellView host, CellElement headerCell)
     : base(host)
 {
     m_HeaderCell = headerCell;
       m_Grid = m_HeaderCell.Column.Grid;
 }