Click or drag to resize

OpenImageFileDialogFilterIndex Property

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

Namespace:  Atalasoft.Imaging.WinControls
Assembly:  Atalasoft.dotImage.WinControls (in Atalasoft.dotImage.WinControls.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax
public int FilterIndex { get; set; }

Property Value

Type: Int32
A value containing the index of the filter currently selected in the file dialog box. The default value is 1.
Remarks

Use the FilterIndex property to set which filtering option is shown first to the 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