Represents a column in a DataGridView control
Inheritance: IDataGridViewColumn
 protected override void AssertGridColumnTypeAfterCast(IDataGridViewColumn createdColumn, Type expectedColumnType)
 {
     Habanero.Faces.VWG.DataGridViewColumnVWG columnWin = (Habanero.Faces.VWG.DataGridViewColumnVWG)createdColumn;
     Gizmox.WebGUI.Forms.DataGridViewColumn   column    = columnWin.DataGridViewColumn;
     Assert.AreEqual(expectedColumnType, column.GetType());
 }
Ejemplo n.º 2
0
            /// <summary>
            /// Adds a column to the collection where the column has been
            /// wrapped using the IDataGridViewColumn pattern
            /// </summary>
            public void Add(IDataGridViewColumn dataGridViewColumn)
            {
                DataGridViewColumnVWG col = (DataGridViewColumnVWG)dataGridViewColumn;

                _columns.Add(col.DataGridViewColumn);
            }