Skip to main content

VGridControlBase.RetrieveFields() Method

Creates rows for all the fields in the bound data source.

Namespace: DevExpress.XtraVerticalGrid

Assembly: DevExpress.XtraVerticalGrid.v23.2.dll

NuGet Packages: DevExpress.Win.Navigation, DevExpress.Win.VerticalGrid

Declaration

public virtual void RetrieveFields()

Remarks

The RetrieveFields method clears the grid’s VGridControlBase.Rows collection and creates new rows for all the fields in the bound data source. The created row’s RowProperties.FieldName property is set to the name of the bound field. The RowProperties.RowHandle property is set with respect to the field’s position within the bound data source.

To create rows manually, use the methods provided by the VGridControlBase.Rows collection.

See Also