Skip to main content

OpenFilePickerResult Struct

Definition​

Assembly:Avalonia.Base
Package:Avalonia
public struct OpenFilePickerResult

Inheritance: ValueType -> OpenFilePickerResult

Implements: IEquatable<OpenFilePickerResult>

Methods​

NameDescription
Equals (2 overloads)No summary available.
GetHashCodeNo summary available.
ToStringNo summary available.

Equals overloads​

Equals Method​

public bool Equals(Avalonia.Platform.Storage.OpenFilePickerResult other)
Parameters​

other Avalonia.Platform.Storage.OpenFilePickerResult

Returns​

bool

Equals Method​

public bool Equals(object obj)
Parameters​

obj object

Returns​

bool

GetHashCode Method​

public int GetHashCode()

Returns​

int

ToString Method​

public string ToString()

Returns​

string

Properties​

NameDescription
FilesGets the list of files selected by the user, or empty if the user canceled the dialog.
SelectedFileTypeGets the file type selected by the user, or null if the platform does not support this feature.

Files Property​

Gets the list of files selected by the user, or empty if the user canceled the dialog.

public System.Collections.Generic.IReadOnlyList<Avalonia.Platform.Storage.IStorageFile> Files { get; set; }

SelectedFileType Property​

Gets the file type selected by the user, or null if the platform does not support this feature.

public Avalonia.Platform.Storage.FilePickerFileType SelectedFileType { get; set; }