FileDialog.Filter
Usage:
Description:
Contains a string with a set of file filters.
For MS Windows:
A filter consists of two parts, separated by the vertical line symbol ("|"): a display string shown in the file selection window, and a file specification string. The mask string can include an asterisk "*" to replace any number of characters, or "?" (question mark) to replace any single character. You can list several filters, separating them with a vertical line ("|").
String example: "Text document(*.txt)|*.txt|Spreadsheet(*.mxl)|*.mxl".
For Linux:
The following sequences are allowed in mask string:
- any character allowed in a file name. The specified characters collation is case sensitive;
- "*" (asterisk) - any character sequence;
- "?" (question mark) - any character;
- "[" - character class. Character sequence is specified after the open bracket. The pattern corresponds to any of the specified characters. A range can be specified with "-". Description of a character class is followed by "]". To specify "-" as a class symbol, it should be the first or the last character. If "[" is followed by "!", the class describes all the characters except for those specified.
For MacOS (web client): The mask string can use the "*.extension" sequence where:
- "*" (asterisk) – describes the file name;
- "extension" - contains any characters allowed in a file name. Comparison is case sensitive.
Availability: