property FileType.Bold as Boolean

Retrieves or sets a value that specifies whether the files that match the FileType's pattern should appear in bold.

TypeDescription
Boolean A boolean expression that indicates whether the files that match the FileType's pattern should appear in bold.

The Bold property specifies whether the file or the folder should appear in bold. Use the Font property to change the control's font. The Apply method applies the changes to the current list.  Use the BrowseFolderPath property to specify the path to the browsed folder.

The following VB sample bolds the cpp and h files:

With ExFileView1.FileTypes.Add("*.cpp *.h")
    .Bold = True
    .Apply
End With

The following C++ sample bolds the cpp and h files:

#include "FileType.h"
#include "FileTypes.h"
CFileType fileType = m_fileview.GetFileTypes().Add("*.cpp *.h");
fileType.SetBold( TRUE );
fileType.Apply();

The following VB.NET sample bolds the cpp and h files:

With AxExFileView1.FileTypes.Add("*.cpp *.h")
    .Bold = True
    .Apply()
End With

The following C# sample bolds the cpp and h files:

EXFILEVIEWLib.FileType fileType = axExFileView1.FileTypes.Add("*.cpp *.h");
fileType.Bold = true;
fileType.Apply();

The following VFP sample bolds the cpp and h files:

With thisform.ExFileView1.FileTypes.Add("*.cpp *.h")
    .Bold = .t.
    .Apply()
EndWith