property FileType.Italic as Boolean

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

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

The Italic property specifies whether the file or the folder should appear in italic. 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 makes the cpp and h files appear in italic:

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

The following C++ sample makes the cpp and h files appear in italic:

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

The following VB.NET sample makes the cpp and h files appear in italic:

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

The following C# sample makes the cpp and h files appear in italic:

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

The following VFP sample makes the cpp and h files appear in italic:

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