Table of Contents

Class FilePickerSaveOptions

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

Constructors

FilePickerSaveOptions()

public FilePickerSaveOptions()

Properties

DefaultExtension

Gets or sets the default extension to be used to save the file.

public string? DefaultExtension { get; set; }

Property Value

string

FileTypeChoices

Gets or sets the collection of valid file types that the user can choose to assign to a file.

public IReadOnlyList<FilePickerFileType>? FileTypeChoices { get; set; }

Property Value

IReadOnlyList<FilePickerFileType>

ShowOverwritePrompt

Gets or sets a value indicating whether file open picker displays a warning if the user specifies the name of a file that already exists.

public bool? ShowOverwritePrompt { get; set; }

Property Value

bool?