DataGridRow::OnColumnsChanged Method (ObservableCollection<DataGridColumn^>^, NotifyCollectionChangedEventArgs^)
.NET Framework (current version)
Called to update the displayed cells when the DataGrid::Columns collection has changed.
Assembly: PresentationFramework (in PresentationFramework.dll)
public protected: virtual void OnColumnsChanged( ObservableCollection<DataGridColumn^>^ columns, NotifyCollectionChangedEventArgs^ e )
Parameters
- columns
-
Type:
System.Collections.ObjectModel::ObservableCollection<DataGridColumn^>^
The DataGrid::Columns collection.
- e
-
Type:
System.Collections.Specialized::NotifyCollectionChangedEventArgs^
The event data from the CollectionChanged event of the DataGrid::Columns collection.
.NET Framework
Available since 4.0
Available since 4.0
Show: