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.3572.0 (4.8.3572.0)
Syntax
C#
public OpenFileOptions 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..

Return Value

OpenFileOptions
The current options instance.
Example
options.AddFilter("*.csv;*.dat;*.txt", "Text files (*.csv;*.dat;*.txt)"); options.AddFilter("*.*", "All files (*.*)");
See Also