Exemple #1
0
        /// <summary>
        /// Remove the selected data columns <b>and the corresponding property rows</b>.
        /// </summary>
        /// <param name="selectedColumns">A collection of the indizes to the columns that have to be removed.</param>
        public virtual void RemoveColumns(IAscendingIntegerCollection selectedColumns)
        {
            Suspend();

            _dataColumns.RemoveColumns(selectedColumns);  // remove the columns from the collection
            _propertyColumns.RemoveRows(selectedColumns); // remove also the corresponding rows from the Properties

            Resume();
        }