void Component_AfterItemAdd(Component item) { if (this.ParentGrid != null) { this.ParentGrid.EnsureHeaderControl(this, item); } }