All docs
V21.2
21.2
21.1
20.2
20.1
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

IFileDialogServiceBase.Filter Property

Gets or sets a filter string which specifies options that are available in the “Files of type” box in the dialog box.

Namespace: DevExpress.Mvvm

Assembly: DevExpress.Mvvm.v21.2.dll

Declaration

string Filter { get; set; }

Property Value

Type Description
String

A System.String value containing the file filtering options available in the dialog box. The default is an empty string.

Remarks

The following are examples of a filter string:

Text files (*.txt)|*.txt|All files (*.*)|*.*

Image Files (*.BMP;*.JPG;*.GIF)|*.BMP;*.JPG;*.GIF|All files (*.*)|*.*

Use the FilterIndex property to set which filtering option is shown first to the user.

See Also