The requested page is not available for the requested platform. You are viewing the content for Default platform.

DataControlBase.ColumnsPopulated Event

Obsolete. Occurs after the columns have been automatically generated.

Namespace: DevExpress.UI.Xaml.Grid

Assembly: DevExpress.UI.Xaml.Grid.v19.1.dll

Declaration

[Obsolete("Use the AutoGeneratedColumns event instead")]
[Browsable(false)]
public event EventHandler ColumnsPopulated
<Obsolete("Use the AutoGeneratedColumns event instead")>
<Browsable(False)>
Public Event ColumnsPopulated As EventHandler

Event Data

The ColumnsPopulated event handler receives an argument of the EventArgs type.

Remarks

If the grid's DataControlBase.AutoGenerateColumns option is enabled, binding the grid to a data source automatically generates columns for all data source fields. After all columns have been created and added to the GridControl.Columns collection, the grid fires the ColumnsPopulated event. Handle this event to specify column settings (e.g. apply sorting, hide individual columns, etc.).

The ColumnsPopulated event is not raised if the DataControlBase.AutoGenerateColumns property is set to false.

See Also