Retrieves or sets a value that specifies whether the files
that match the FileType's pattern should appear in strikeout.
Type | Description | |||
Boolean | A boolean expression that specifies whether the files that match the FileType's pattern should appear in strikeout. |
The StrikeOut property specifies whether the file's font is displayed with a horizontal line through. 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 draws the cpp and h files with a horizontal line through:
With ExFileView1.FileTypes.Add("*.cpp *.h") .StrikeOut = True .Apply End With
The following C++ sample draws the cpp and h files with a horizontal line through:
#include "FileType.h" #include "FileTypes.h" CFileType fileType = m_fileview.GetFileTypes().Add("*.cpp *.h"); fileType.SetStrikeOut( TRUE ); fileType.Apply();
The following VB.NET sample draws the cpp and h files with a horizontal line through:
With AxExFileView1.FileTypes.Add("*.cpp *.h") .StrikeOut = True .Apply() End With
The following C# sample draws the cpp and h files with a horizontal line through:
EXFILEVIEWLib.FileType fileType = axExFileView1.FileTypes.Add("*.cpp *.h"); fileType.StrikeOut = true; fileType.Apply();
The following VFP sample draws the cpp and h files with a horizontal line through:
With thisform.ExFileView1.FileTypes.Add("*.cpp *.h") .StrikeOut = .t. .Apply() EndWith