property FileType.Underline as Boolean

Retrieves or sets a value that specifies whether the files that match the FileType's pattern appear as underlined.

TypeDescription
Boolean A boolean expression that specifies whether the files that match the FileType's pattern appear as underlined.

The Underline property specifies whether the file or the folder is underlined. 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 underlines the cpp and h files:

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

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

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

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

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

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

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

The following VFP sample underlines the cpp and h files:

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