OnColumnRemoved() private method

Raises the ColumnRemoved Event when a column is remmoved from the ColumnHeaders collection.
private OnColumnRemoved ( int ColumnIndex ) : void
ColumnIndex int
return void
Beispiel #1
0
            /// <summary>
            /// Removes a column from the current collection and raises the OnColumnRemoved Event on the parent control.
            /// </summary>
            /// <param name="column"></param>
            public new void Remove(ColumnHeader column)
            {
                int index = column.Index;

                base.Remove(column);
                _Owner.OnColumnRemoved(index);
            }