OpenFileOptionsAddFilter Method |
Adds a file filter string to show in the open file dialog.
Namespace: Altaxo.GuiAssembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public void AddFilter(
string filter,
string description
)
Parameters
- filter String
- The file filters, separated by semicolon. See example below.
- description String
- The description of the filter. See example below..
Example options.AddFilter("*.csv;*.dat;*.txt", "Text files (*.csv;*.dat;*.txt)");
options.AddFilter("*.*", "All files (*.*)");
See Also