Back to Devexpress

DXFileDialog.FilterIndex Property

wpf-devexpress-dot-xpf-dot-dialogs-dot-dxfiledialog-e01f32e4.md

latest1.4 KB
Original Source

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

NuGet Package : DevExpress.Wpf.Dialogs

Declaration

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

Property Value

TypeDescription
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

Filter

DXFileDialog Class

DXFileDialog Members

DevExpress.Xpf.Dialogs Namespace