DataGridCellsPresenter.OnColumnsChanged Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Updates 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)
Parameters
- columns
- ObservableCollection<DataGridColumn>
The Columns collection.
The event data from the CollectionChanged event of the Columns collection.
Applies to
See also
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.