Table of Contents

Class PickerOptions

Namespace
Avalonia.Platform.Storage
Assembly
Avalonia.Base.dll
public class PickerOptions
Inheritance
PickerOptions
Derived
Inherited Members

Constructors

PickerOptions()

public PickerOptions()

Properties

SuggestedFileName

Gets or sets the file name that the file picker suggests to the user.

public string? SuggestedFileName { get; set; }

Property Value

string

SuggestedStartLocation

Gets or sets the initial location where the file open picker looks for files to present to the user. Can be obtained from previously picked folder or using TryGetFolderFromPathAsync(Uri) or TryGetWellKnownFolderAsync(WellKnownFolder).

public IStorageFolder? SuggestedStartLocation { get; set; }

Property Value

IStorageFolder

Title

Gets or sets the text that appears in the title bar of a picker.

public string? Title { get; set; }

Property Value

string