property ExFileView.ColumnFilter(ColumnName as String) as String
Specifies the column's filter when filter type is exFilter or exPattern. /*not supported in the lite version*/

TypeDescription
ColumnName as String A string expression that indicates the column's name. The valid values are: 'Name', 'Size', 'Modified', 'Type', 'In Folder'
String A string expression that specifies the column's filter.
If the ColumnFilterType property is exFilter the ColumnFilter property specifies the list of values used in filtering. The values are separated by '|' character. For instance if the Filter property is "CellA| CellB" the control includes only the items that have captions like: "CellA" or "CellB". If the ColumnFilterType is exPattern the ColumnFilter property defines the list of patterns used in filtering. The patterns are separator by '|' character. A pattern filter may contain the wild card characters '?' for any single character, '*' for zero or more occurrences of any character, '#' for any digit character, '^' negates the pattern, '|' separates the options in the pattern. For instance: '1*|2*' specifies all items that start with '1' or '2'. Use the FilterBarCaption property to change the caption for control's filter bar header. Use the AddColumnCustomFilter method to add custom filters to the column.

The ApplyFilter method should be called to update the control's content after changing the Filter or FilterType property. The ClearFilter method clears the control's filter.

The following VB sample filters for executable files:

With ExFileView1
    .ColumnFilterButton("Name") = True
    .ColumnFilter("Name") = "*.exe|*.com|*.bat"
    .ColumnFilterType("Name") = exPattern
    .ApplyFilter
End With 

The following C++ sample filters for executable files:

m_fileview.SetColumnFilterButton("Name", TRUE );
m_fileview.SetColumnFilter( "Name", "*.exe|*.com|*.bat" );
m_fileview.SetColumnFilterType( "Name", 1 /*exPattern*/ );
m_fileview.ApplyFilter();

The following VB.NET sample filters for executable files:

With AxExFileView1
    .set_ColumnFilterButton("Name", True)
    .set_ColumnFilter("Name", "*.exe|*.com|*.bat")
    .set_ColumnFilterType("Name", EXFILEVIEWLib.FilterTypeEnum.exPattern)
    .ApplyFilter()
End With

The following C# sample filters for executable files:

axExFileView1.set_ColumnFilterButton("Name", true);
axExFileView1.set_ColumnFilter("Name", "*.exe|*.com|*.bat");
axExFileView1.set_ColumnFilterType("Name", EXFILEVIEWLib.FilterTypeEnum.exPattern);
axExFileView1.ApplyFilter();

The following VFP sample filters for executable files:

With thisform.FileView1
    .Object.ColumnFilterButton("Name") = .t.
    .Object.ColumnFilter("Name") = "*.exe|*.com|*.bat"
    .Object.ColumnFilterType("Name") = 1
    .ApplyFilter
EndWith