Table of Contents

Class FileDialog

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

Displays a dialog window from which the user can select a file.

[ControlCategory("Hidden")]
public abstract class FileDialog : CommonDialog, IBaseObject, IDisposableObject, IDisposable
Inheritance
FileDialog
Implements
Derived

Constructors

FileDialog()

Initializes a new instance of FileDialog.

Properties

ChangeDir

Gets or sets whether to change the current working directory (when the dialog is dismissed) to the directory where the file(s) chosen by the user are.

FileName

Gets or sets a string containing the file name selected in the file dialog window.

Filter

Gets or sets the current file name filter string, which determines the choices that appear in the "Save as file type" or "Files of type" box in the dialog window.

FilterIndex

Same as SelectedFilterIndex. Added for the compatibility.

Handler

Gets dialog handler.

InitialDirectory

Gets or sets the initial directory displayed by the file dialog window.

NoShortcutFollow

Gets or sets whether to direct the dialog to return the path and file name of the selected shortcut file, not its target as it does by default.

PreviewFiles

Gets or sets whether to show the preview of the selected files (currently only supported by Linux port).

SelectedFilterIndex

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

ShowHiddenFiles

Gets or sets whether to show hidden files.