![]() | Type | Description | ||
| ColumnName as String | A string expression that indicates the column's name. The valid values are: 'Name', 'Size', 'Modified', 'Type', 'In Folder' | |||
| Boolean | A boolean expression that indicates whether the column displays the filter button. |

The following VB sample adds custom filter patterns for executable files:
With ExFileView1
.FilterBarDropDownHeight = 0.7
.ColumnFilterButton("Name") = True
.AddColumnCustomFilter "Name", "(Executable files)", "*.exe|*.com|*.bat"
End With
The following C++ sample adds custom filter patterns for executable files:
m_fileview.SetFilterBarDropDownHeight( 0.7 );
m_fileview.SetColumnFilterButton("Name", TRUE );
m_fileview.AddColumnCustomFilter("Name", "(Executable files)", "*.exe|*.com|*.bat");
The following VB.NET sample adds custom filter patterns for executable files:
With AxExFileView1
.FilterBarDropDownHeight = 0.7
.set_ColumnFilterButton("Name", True)
.AddColumnCustomFilter("Name", "(Executable files)", "*.exe|*.com|*.bat")
End With
The following C# sample adds custom filter patterns for executable files:
axExFileView1.FilterBarDropDownHeight = 0.7;
axExFileView1.set_ColumnFilterButton("Name", true);
axExFileView1.AddColumnCustomFilter("Name", "(Executable files)", "*.exe|*.com|*.bat");
The following VFP sample adds custom filter patterns for executable files:
With thisform.ExFileView1
.FilterBarDropDownHeight = 0.7
.Object.ColumnFilterButton("Name") = .t.
.AddColumnCustomFilter("Name", "(Executable files)", "*.exe|*.com|*.bat")
EndWith