public virtual string Filter { get; set; }Public Overridable Property Filter As String
Get
SetThe filter can be defined in two possible formats:
1. set of wildcard masks delimited by | (pipe character)
2. "|" delimited pairs of label and a corresponding wildcard. label1|wildcard1|label2|wildcard2|...|labelN|wildcardN
The second variant is only for compatibility with OpenFileDialog/SaveFileDialog. If you assign a string (which is in the second format) to Filter, it will be automatically converted to a string in format 1 (by removing all the labels and leaving only the wildcard masks).
Filter string causes OpenSaveDialog to display on those files which match at least one wildcard mask in the Filter string.
The default value is *.* which means all files. If you wish not to display any files, put an empty string to Filter.