Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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