void Columns_AfterItemAdd(HeaderColumn item) { if (item.Component.Count > 0 && this.ParentGrid != null) { this.ParentGrid.EnsureHeaderColumn(this, item); } item.Component.AfterItemAdd += Component_AfterItemAdd; }