GridViewSettings<RowType>.Columns Property

Provides access to a GridView's column collection.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v20.1.dll

Declaration

public MVCxGridViewColumnCollection<RowType> Columns { get; }
Public ReadOnly Property Columns As MVCxGridViewColumnCollection(Of RowType)

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