Back to Devexpress

LayoutViewColumnCollection Class

windowsforms-devexpress-dot-xtragrid-dot-columns-55557281.md

latest2.5 KB
Original Source

LayoutViewColumnCollection Class

Represents a collection of columns in a Layout View.

Namespace : DevExpress.XtraGrid.Columns

Assembly : DevExpress.XtraGrid.v25.2.dll

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

Declaration

csharp
public class LayoutViewColumnCollection :
    GridColumnCollection,
    IEnumerable<LayoutViewColumn>,
    IEnumerable
vb
Public Class LayoutViewColumnCollection
    Inherits GridColumnCollection
    Implements IEnumerable(Of 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

Object CollectionBase GridColumnCollection LayoutViewColumnCollection

See Also

LayoutViewColumnCollection Members

LayoutView

Columns

LayoutViewColumn

DevExpress.XtraGrid.Columns Namespace