Click or drag to resize

OpenFileOptionsAddFilter Method

Adds a file filter string to show in the open file dialog.

Namespace: Altaxo.Gui
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
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
C#
options.AddFilter("*.csv;*.dat;*.txt", "Text files (*.csv;*.dat;*.txt)");
options.AddFilter("*.*", "All files (*.*)");
See Also