![]() | Type | Description | ||
| IFontDisp | A font object that indicates the font used to paint the description for control's filter bar. |
The following VB sample assigns by code a new font to the control's filter bar:
With ExFileView1
With .FilterBarFont
.Name = "Tahoma"
End With
.Refresh
End With
The following C++ sample assigns by code a new font to the control's filter bar:
COleFont font = m_fileview.GetFilterBarFont(); font.SetName( "Tahoma" ); m_fileview.Refresh();
the C++ sample requires definition of COleFont class ( #include "Font.h" )
The following VB.NET sample assigns by code a new font to the control's filter bar:
With AxExFileView1
Dim font As System.Drawing.Font = New System.Drawing.Font("Tahoma", 10, FontStyle.Regular, GraphicsUnit.Point)
.FilterBarFont = font
.CtlRefresh()
End With
The following C# sample assigns by code a new font to the control's filter bar:
System.Drawing.Font font = new System.Drawing.Font("Tahoma", 10, FontStyle.Regular);
axExFileView1.FilterBarFont = font;
axExFileView1.CtlRefresh();
The following VFP sample assigns by code a new font to the control's filter bar:
with thisform.ExFileView1.Object .FilterBarFont.Name = "Tahoma" .Refresh() endwith