Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

LayoutViewColumnCollection Class

Represents a collection of columns in a Layout View.

Namespace: DevExpress.XtraGrid.Columns

Assembly: DevExpress.XtraGrid.v24.2.dll

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

#Declaration

public class LayoutViewColumnCollection :
    GridColumnCollection,
    IEnumerable<LayoutViewColumn>,
    IEnumerable

The following members return LayoutViewColumnCollection objects:

#Remarks

The LayoutViewColumnCollection class represents a collection of columns in a Layout View. To access a View’s column collection, use the LayoutView.Columns property. Elements in this collection are of the LayoutViewColumn type.

Properties and methods introduced by the LayoutViewColumnCollection class can be used to perform common collection operations such as adding new or deleting existing columns. Individual columns can be accessed using indexer notation. The indexer can accept either column indexes or field names.

#Inheritance

See Also