# Interface OpenFileDialogOptions

interface OpenFileDialogOptions {
AllowsMultipleSelection: undefined | boolean;
AllowsOtherFiletypes: undefined | boolean;
ButtonText: undefined | string;
CanChooseDirectories: undefined | boolean;
CanChooseFiles: undefined | boolean;
CanCreateDirectories: undefined | boolean;
CanSelectHiddenExtension: undefined | boolean;
Detached: undefined | boolean;
Directory: undefined | string;
Filters: undefined | FileFilter[];
HideExtension: undefined | boolean;
Message: undefined | string;
ResolvesAliases: undefined | boolean;
ShowHiddenFiles: undefined | boolean;
Title: undefined | string;
TreatsFilePackagesAsDirectories: undefined | boolean;
}

- Defined in dialogs.js:14

#####
Index

### Properties

AllowsMultipleSelection
AllowsOtherFiletypes
ButtonText
CanChooseDirectories
CanChooseFiles
CanCreateDirectories
CanSelectHiddenExtension
Detached
Directory
Filters
HideExtension
Message
ResolvesAliases
ShowHiddenFiles
Title
TreatsFilePackagesAsDirectories

## Properties

### AllowsMultipleSelection

AllowsMultipleSelection: undefined | boolean

Indicates if multiple selection is allowed.

- Defined in dialogs.js:20

### AllowsOtherFiletypes

AllowsOtherFiletypes: undefined | boolean

Indicates if other file types are allowed.

- Defined in dialogs.js:24

### ButtonText

ButtonText: undefined | string

Text to display on the button.

- Defined in dialogs.js:28

### CanChooseDirectories

CanChooseDirectories: undefined | boolean

Indicates if directories can be chosen.

- Defined in dialogs.js:15

### CanChooseFiles

CanChooseFiles: undefined | boolean

Indicates if files can be chosen.

- Defined in dialogs.js:16

### CanCreateDirectories

CanCreateDirectories: undefined | boolean

Indicates if directories can be created.

- Defined in dialogs.js:17

### CanSelectHiddenExtension

CanSelectHiddenExtension: undefined | boolean

Indicates if hidden extensions can be selected.

- Defined in dialogs.js:22

### Detached

Detached: undefined | boolean

Indicates if the dialog should appear detached from the main window.

- Defined in dialogs.js:30

### Directory

Directory: undefined | string

Directory to open in the dialog.

- Defined in dialogs.js:29

### Filters

Filters: undefined | FileFilter[]

Array of file filters.

- Defined in dialogs.js:25

### HideExtension

HideExtension: undefined | boolean

Indicates if the extension should be hidden.

- Defined in dialogs.js:21

### Message

Message: undefined | string

Message to show in the dialog.

- Defined in dialogs.js:27

### ResolvesAliases

ResolvesAliases: undefined | boolean

Indicates if aliases should be resolved.

- Defined in dialogs.js:19

### ShowHiddenFiles

ShowHiddenFiles: undefined | boolean

Indicates if hidden files should be shown.

- Defined in dialogs.js:18

### Title

Title: undefined | string

Title of the dialog.

- Defined in dialogs.js:26

### TreatsFilePackagesAsDirectories

TreatsFilePackagesAsDirectories: undefined | boolean

Indicates if file packages should be treated as directories.

- Defined in dialogs.js:23

Generated using TypeDoc