The
FileType object holds a set of attributes like: font attributes, color, icons,
that are applied for files/folders that match the object's
Pattern
property. You can use any pattern to build a new FileType, like *.bmp *.jpg
a*.exe ????.exe and so on. A rule defined by one FileType object is not
applied to the current folder, if the
Apply
method of FileType object, or the
Apply
method of FileTypes object is not invoked. The FileType' attributes are
applied also, if the control is refreshed, or if the user changes the browsed
folder. If the FileType object has the
From
and
To set, the FileType object is
applied only if the files/folders were changed between From and To dates.
In this case, the ExFileView control runs new threads in the background, that
looks recursively for any file that matches the FileType's pattern property
and was updated in the given interval. When one of this file is found the rule
is applied. Using threads the ExFileView control will never lock your
application.
| | Name | Description | |
| | Apply | Applies the changes to the current list. | |
| | BackColor | Retrieves or sets a value that indicates the background color for the files that match the FileType's pattern. | |
| | Bold | Specifies whether the files that match the pattern should appear in bold. | |
| | Folder | Retrieves or sets a value indicating whether the changes are applied only for folder objects. | |
| | ForeColor | Retrieves or sets a value that indicates the foreground color for the files that match the FileType's pattern. | |
| | From | Specifies whether the FileType object is applied for files/folders that have been changed after given date. | |
| | HasPattern | Specifies whether the FileType's pattern contains wild characters. If the FileType's pattern contains no wild cards, the pattern defines exactly the file name. | |
| | IconIndex | Indicates the icon index used to replace the default icon for files that match the FileType's pattern. | |
| | Italic | Specifies whether the files that match the pattern should appear in italic. | |
| | Pattern | Specifies the pattern that defines the files into a group, like '*.cpp *h'. | |
| | StrikeOut | Specifies whether the files that match the pattern should appear in strikeout. | |
| | To | Specifies whether the FileType object is applied for files/folders that have been changed before give date. | |
| | Type | Retrieves or sets a value that indicates the string gets displayed on the Type column. | |
| | Underline | Specifies whether the files that match the pattern appear as underlined. | |