# FileDialogFileType class

One file type offered by a file dialog: a display name and the patterns it matches.

```csharp
public class FileDialogFileType
```

## Public Members

| name | description |
| --- | --- |
| [FileDialogFileType](FileDialogFileType/FileDialogFileType.md)(…) | Initializes a new instance of the [`FileDialogFileType`](./FileDialogFileType.md) class. |
| [AppleUniformTypeIdentifiers](FileDialogFileType/AppleUniformTypeIdentifiers.md) { get; set; } | The uniform type identifiers this type matches, such as `public.png`. Used on Apple platforms. |
| [MimeTypes](FileDialogFileType/MimeTypes.md) { get; set; } | The MIME types this type matches, such as `image/png`. Used on platforms that identify files by MIME type rather than by extension. |
| [Name](FileDialogFileType/Name.md) { get; } | The text shown for this type in the dialog. |
| [Patterns](FileDialogFileType/Patterns.md) { get; set; } | The glob patterns this type matches, such as `*.png`. Used on Windows and Linux. |

## Remarks

Declared here rather than taken from the UI framework so that this assembly stays free of any framework reference. The implementation translates these into whatever the platform picker expects.

## See Also

* namespace [Eremex.AvaloniaUI.Controls.ApplicationServices](./index.md)

<!-- DO NOT EDIT: generated by xmldocmd for Eremex.Common.Contracts.dll -->
