GridViewColumnStateCollection.Add(String) Method

Adds a column state object specified by the field name to the collection.

Namespace: DevExpress.Web.Mvc

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

Declaration

public GridViewColumnState Add(
    string fieldName
)
Public Function Add(
    fieldName As String
) As GridViewColumnState

Parameters

Name Type Description
fieldName String

The data field name identifying the grid column whose state information should be added to the collection.

Returns

Type Description
GridViewColumnState

A GridViewColumnState representing the newly created column state object.

See Also