FileDialogFileType class¶
One file type offered by a file dialog: a display name and the patterns it matches.
Public Members¶
| name | description |
|---|---|
| FileDialogFileType(…) | Initializes a new instance of the FileDialogFileType class. |
| AppleUniformTypeIdentifiers { get; set; } | The uniform type identifiers this type matches, such as public.png. Used on Apple platforms. |
| MimeTypes { 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 { get; } | The text shown for this type in the dialog. |
| Patterns { 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.