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()); }
/// <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); }