internal void EnsureHeaderColumn(GridView item, HeaderColumn column) { if (column.Component.Count > 0) { this.EnsureHeaderControl(item, column.Component[0]); } }
void Columns_AfterItemAdd(HeaderColumn item) { if (item.Component.Count > 0) { this.ParentGrid.EnsureHeaderColumn(this, item); } item.Component.AfterItemAdd += Component_AfterItemAdd; }