Skip to main content

MVCxFilterControlColumnCollection.Add(String, String) Method

Creates and adds a column to the collection.

Namespace: DevExpress.Web.Mvc

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

NuGet Package: DevExpress.Web.Mvc5

Declaration

public MVCxFilterControlColumn Add(
    string propertyName,
    string displayName
)

Parameters

Name Type Description
propertyName String

A string value specifying the data source’s field name.

displayName String

A string value specifying the column’s caption.

Returns

Type Description
MVCxFilterControlColumn

An MVCxFilterControlColumn object representing the newly created column.

See Also