DataGrid.AutoGeneratedColumns Event
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.
Occurs when auto generation of all columns is completed.
public:
event EventHandler ^ AutoGeneratedColumns;
public event EventHandler AutoGeneratedColumns;
member this.AutoGeneratedColumns : EventHandler
Public Custom Event AutoGeneratedColumns As EventHandler
Public Event AutoGeneratedColumns As EventHandler
Event Type
Remarks
If the AutoGenerateColumns property is set to true
, the AutoGeneratingColumn event is raised for each column created. When all columns are created, this event will occur.
Note
The AutoGeneratedColumns event is raised every time the DataGrid attempts to generate columns. For example, AutoGeneratedColumns is raised when the DataGrid is initialized, AutoGenerateColumns is set to true
, or the ItemsSource is changed, even if the ItemsSource is null
.