Skip to main content

DXFileDialog.FilterIndex Property

Gets or sets the index of the currently selected filter in the file dialog.

Namespace: DevExpress.Xpf.Dialogs

Assembly: DevExpress.Xpf.Dialogs.v24.1.dll

NuGet Package: DevExpress.Wpf.Dialogs

Declaration

public int FilterIndex { get; set; }

Property Value

Type Description
Int32

The index of the currently selected filter in the file dialog. The default value is 1.

Remarks

Use the FilterIndex property to set which filtering option is shown first to an end user. You can also use the value of FilterIndex after showing the file dialog to perform special file operations depending upon the filter chosen.

Note

The index value of the first filter entry is 1.

See Also