DataGridCellsPresenter.OnColumnsChanged 方法

定义

更新 Columns 集合发生更改时的显示单元格。

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)

参数

e
NotifyCollectionChangedEventArgs

CollectionChanged 集合的 Columns 事件中的事件数据。

适用于

另请参阅