xtd 0.2.0
Loading...
Searching...
No Matches

◆ filter_index() [2/2]

virtual file_dialog & xtd::forms::file_dialog::filter_index ( size_t  value)
virtual

Sets the index of the filter currently selected in the file dialog box.

Parameters
valueA value containing the index of the filter currently selected in the file dialog box. The default value is 1.
Returns
Current file_dialog.
Remarks
Use the filter_index property to set which filtering option is shown first to the user. You can also use the value of filter_index 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.