Skip to main content

GridViewSettings<RowType>.Columns Property

Provides access to a GridView’s column collection.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v23.2.dll

NuGet Package: DevExpress.Web.Mvc5

Declaration

public MVCxGridViewColumnCollection<RowType> Columns { get; }

Property Value

Type Description
MVCxGridViewColumnCollection<RowType>

A MVCxGridViewColumnCollection<RowType> object that is a collection of columns.

Remarks

The Columns property stores a collection of MVCxGridViewColumn objects that denote columns. It provides methods that allow you to add new and remove existing columns. Individual columns can be accessed using indexed notation.

See Also