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.v19.2.dll

Declaration

public int FilterIndex { get; set; }
Public Property FilterIndex As Integer

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.

Implements

DevExpress.Utils.CommonDialogs.IFileDialog.FilterIndex
See Also