Ejemplo n.º 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;
            }
        }
Ejemplo n.º 2
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;
   }   
 }