Export (0) Print
Expand All

MetaTable.GetFilteredColumns Method

Retrieves a list of columns that are filterable.

Namespace:  System.Web.DynamicData
Assembly:  System.Web.DynamicData (in System.Web.DynamicData.dll)

public virtual IEnumerable<MetaColumn> GetFilteredColumns()

Return Value

Type: System.Collections.Generic.IEnumerable<MetaColumn>
A list of columns that are filterable.

A column is filterable if it is annotated with the DisplayColumnAttribute attribute and the Enabled property of the FilterAttribute attribute of the column is set to true.

.NET Framework

Supported in: 4.6, 4.5, 4
© 2015 Microsoft