Table of Contents

Class FilePickerFileType

Namespace
Avalonia.Platform.Storage
Assembly
Avalonia.Base.dll

Represents a name mapped to the associated file types (extensions).

public sealed class FilePickerFileType
Inheritance
FilePickerFileType
Inherited Members

Constructors

FilePickerFileType(string?)

public FilePickerFileType(string? name)

Parameters

name string

Properties

AppleUniformTypeIdentifiers

List of extensions in Apple uniform format.

public IReadOnlyList<string>? AppleUniformTypeIdentifiers { get; set; }

Property Value

IReadOnlyList<string>

Remarks

MimeTypes

List of extensions in MIME format.

public IReadOnlyList<string>? MimeTypes { get; set; }

Property Value

IReadOnlyList<string>

Remarks

Used on Android, Linux and Browser platforms.

Name

File type name.

public string Name { get; }

Property Value

string

Patterns

List of extensions in GLOB format. I.e. ".png" or ".*".

public IReadOnlyList<string>? Patterns { get; set; }

Property Value

IReadOnlyList<string>

Remarks

Used on Windows, Linux and Browser platforms.