Table of Contents

Interface IFileDialogHandler

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

Contains methods and properties which allow to work with open/save file dialog window.

public interface IFileDialogHandler : IDialogHandler, IDisposable

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.

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.