![]() | Type | Description | ||
| Double | A double expression that indicates the height of the drop down filter window. |
If the FilterBarDropDownHeight property is negative, the absolute value of the FilterBarDropDownHeight property indicates the height of the drop down filter window in pixels. In this case, the height of the drop down filter window is not proportionally with the height of the control's list area. For instance, the following sample specifies the height of the drop down filter window being 100 pixels:
With ExFileView1
.FilterBarDropDownHeight = -100
End With
If the FilterBarDropDownHeight property is greater than 0, it indicates the height of the drop down filter window proportionally with the height of the control's height list. For instance, the following sample specifies the height of the drop down filter window being the same with the height of the control's list area:
With ExFileView1
.FilterBarDropDownHeight = 1
End With
The drop down filter window always include an item.

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