A File object stores information about a file or a folder. To access a File object you
have to use the
Get property, that retrieves a
Files collection. The Files object contains a collection of
File objects. For instance the following sample shows how to select by code the
"WinNT" folder:
ExFileView1.Get(AllItems)("WinNT").Selected
= True. The File object supports the following properties and
methods.
| |  | Name | Description | |
| | | BackColor | Returns or sets the background color of the file. | |
| | | Bold | Specifies whether the file should appear in bold. | |
| | | Checked | Specifies whether the file is checked or unchecked. | |
| | | Folder | Specifies whether the object is a file or a folder. | |
| | | ForeColor | Returns or sets the foreground color of the file. | |
| | | FullName | Retrieves the full name of the file. | |
| | | Ghosted | Returns or sets a value that determines whether a file appears as unavailable (it appears dimmed). | |
| | | Name | Retrieves the file's name. | |
| | | RelativeName | Retrieves the relative name of the file. | |
| | | Selected | Specifies whether the file is selected or unselected. | |
| | | State | Indicates the file's changed state. | |
| | | Type | Retrieves or sets a value that indicates the string gets displayed on the Type column. | |