DataGridRow.OnColumnsChanged(ObservableCollection<DataGridColumn>, NotifyCollectionChangedEventArgs) Метод

Определение

Вызывается для обновления отображаемых ячеек при изменении коллекции Columns.Called to update the displayed cells when the Columns collection has changed.

protected public:
 virtual void OnColumnsChanged(System::Collections::ObjectModel::ObservableCollection<System::Windows::Controls::DataGridColumn ^> ^ columns, System::Collections::Specialized::NotifyCollectionChangedEventArgs ^ e);
protected internal virtual void OnColumnsChanged (System.Collections.ObjectModel.ObservableCollection<System.Windows.Controls.DataGridColumn> columns, System.Collections.Specialized.NotifyCollectionChangedEventArgs e);
abstract member OnColumnsChanged : System.Collections.ObjectModel.ObservableCollection<System.Windows.Controls.DataGridColumn> * System.Collections.Specialized.NotifyCollectionChangedEventArgs -> unit
override this.OnColumnsChanged : System.Collections.ObjectModel.ObservableCollection<System.Windows.Controls.DataGridColumn> * System.Collections.Specialized.NotifyCollectionChangedEventArgs -> unit
Protected Friend Overridable Sub OnColumnsChanged (columns As ObservableCollection(Of DataGridColumn), e As NotifyCollectionChangedEventArgs)

Параметры

columns
ObservableCollection<DataGridColumn>

Коллекция Columns.The Columns collection.

e
NotifyCollectionChangedEventArgs

Данные события CollectionChanged коллекции Columns.The event data from the CollectionChanged event of the Columns collection.

Применяется к

См. также раздел