DataGridCellsPresenter.OnColumnsChanged Método

Definición

Actualiza las celdas mostradas cuando ha cambiado la colección 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)

Parámetros

columns
ObservableCollection<DataGridColumn>

La colección Columns.

e
NotifyCollectionChangedEventArgs

Datos del evento CollectionChanged de la colección Columns.

Se aplica a

Consulte también