Skip to content

OpenFileDialogOptions.Filter property

The file type filters, written as display name and patterns alternating and separated by |, where several patterns for one type are separated by ; and each pattern is a glob such as *.png — for example "Images|*.png;*.jpg|All files|*.*". When left unset, all files are shown.

public string? Filter { get; set; }

See Also