ASPxFilterControl.Columns Property

Gets a collection of filter columns.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v20.2.dll


public FilterControlColumnCollection Columns { get; }
Public ReadOnly Property Columns As FilterControlColumnCollection

Property Value

Type Default Description


A FilterControlColumnCollection object that contains filter columns.


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

The ASPxFilterControl isn't designed to operate with the bound source control. To enable end-users to construct filter criteria, you should manually create filter columns and add them to the Columns collection. The image below shows how to create filter columns at design time:


The example below demonstrates how to create a filter column in code:

private void CreateSpinEditColumn(ASPxFilterControl filterControl,
        string propertyName, 
        string displayName) {
    FilterControlSpinEditColumn filterColumn = new FilterControlSpinEditColumn();
    filterColumn.PropertyName = propertyName;
    filterColumn.DisplayName = displayName;
See Also