# FileDialog class

Namespace: [Eto.Forms](https://eto.picoe.ca/api/namespace/eto.forms.md) · Assembly: [Eto](https://eto.picoe.ca/api/assembly/eto.md)

```cs
public abstract class FileDialog : CommonDialog
```

Base file dialog class

**Derived types:** [OpenFileDialog](https://eto.picoe.ca/api/type/eto.forms.openfiledialog.md), [SaveFileDialog](https://eto.picoe.ca/api/type/eto.forms.savefiledialog.md)

## Properties

- [CheckFileExists](https://eto.picoe.ca/api/type/eto.forms.filedialog/checkfileexists.md): Gets or sets a value indicating whether this [FileDialog](https://eto.picoe.ca/api/type/eto.forms.filedialog.md) checks if the file exists before the user can close the dialog.
- [CurrentFilter](https://eto.picoe.ca/api/type/eto.forms.filedialog/currentfilter.md): Gets or sets the currently selected filter from the [FileDialog.Filters](https://eto.picoe.ca/api/type/eto.forms.filedialog/filters.md) collection.
- [CurrentFilterIndex](https://eto.picoe.ca/api/type/eto.forms.filedialog/currentfilterindex.md): Gets or sets the index of the current filter in the [FileDialog.Filters](https://eto.picoe.ca/api/type/eto.forms.filedialog/filters.md) collection
- [Directory](https://eto.picoe.ca/api/type/eto.forms.filedialog/directory.md): Gets or sets the directory the file dialog will show files.
- [FileName](https://eto.picoe.ca/api/type/eto.forms.filedialog/filename.md): Gets or sets the full name and path of the file that is selected
- [Filters](https://eto.picoe.ca/api/type/eto.forms.filedialog/filters.md): Gets the collection of available file filters the user can select from.
- [Title](https://eto.picoe.ca/api/type/eto.forms.filedialog/title.md): Gets or sets the title of the dialog.

## Inherited Members

- From [CommonDialog](https://eto.picoe.ca/api/type/eto.forms.commondialog.md): [ShowDialog](https://eto.picoe.ca/api/type/eto.forms.commondialog/showdialog.md)
- From [Widget](https://eto.picoe.ca/api/type/eto.widget.md): [ControlObject](https://eto.picoe.ca/api/type/eto.widget/controlobject.md), [Handler](https://eto.picoe.ca/api/type/eto.widget/handler.md), [ID](https://eto.picoe.ca/api/type/eto.widget/id.md), [IsDisposed](https://eto.picoe.ca/api/type/eto.widget/isdisposed.md), [NativeHandle](https://eto.picoe.ca/api/type/eto.widget/nativehandle.md), [Platform](https://eto.picoe.ca/api/type/eto.widget/platform.md), [Properties](https://eto.picoe.ca/api/type/eto.widget/properties.md), [Style](https://eto.picoe.ca/api/type/eto.widget/style.md), [StyleChanged](https://eto.picoe.ca/api/type/eto.widget/stylechanged.md), [Dispose](https://eto.picoe.ca/api/type/eto.widget/dispose.md), [GetCallback](https://eto.picoe.ca/api/type/eto.widget/getcallback.md), [Initialize](https://eto.picoe.ca/api/type/eto.widget/initialize.md), [OnStyleChanged](https://eto.picoe.ca/api/type/eto.widget/onstylechanged.md), [ToString](https://eto.picoe.ca/api/type/eto.widget/tostring.md)
