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

DataControlBase.PopulateColumns() Method

Creates columns for all fields in a bound data source.

Namespace: DevExpress.UI.Xaml.Grid

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

Declaration

public void PopulateColumns()
Public Sub PopulateColumns

Remarks

The PopulateColumns method appends the grid's GridControl.Columns collection with columns that correspond to all fields in a data source.

This method is automatically called after the grid has been bound to a data source if its DataControlBase.AutoGenerateColumns property is set to true.

Calling the PopulateColumns method raises the DataControlBase.ColumnsPopulated event.

See Also