Skip to main content

SaveFilePickerResult Struct

Definition

Assembly:Avalonia.Base
Package:Avalonia
public struct SaveFilePickerResult

Inheritance: ValueType -> SaveFilePickerResult

Implements: IEquatable<SaveFilePickerResult>

Methods

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

Equals overloads

Equals Method

public bool Equals(Avalonia.Platform.Storage.SaveFilePickerResult other)
Parameters

other Avalonia.Platform.Storage.SaveFilePickerResult

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
FileGets the file selected by the user, or null if the user canceled the dialog.
SelectedFileTypeGets the file type selected by the user, or null if the platform does not support this feature.

File Property

Gets the file selected by the user, or null if the user canceled the dialog.

public Avalonia.Platform.Storage.IStorageFile File { 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; }