Skip to main content
A newer version of this page is available.
All docs
V19.1

SaveFileDialogService.Filter Property

Gets or sets a filter string which specifies options that are available in the “Save as” box in the dialog box. This is a dependency property.

Namespace: DevExpress.Mvvm.UI

Assembly: DevExpress.Xpf.Core.v19.1.dll

Declaration

public 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 SaveFileDialogService.FilterIndex property to set which filtering option is shown first to the user.

To learn more, see SaveFileDialogService.

See Also