Skip to main content

FilePickerSaveOptions Class

Options class for SaveFilePickerAsync(FilePickerSaveOptions) method.

Definition

Namespace: Avalonia.Platform.Storage
Assembly: Avalonia.Base (in Avalonia.Base.dll)

public class FilePickerSaveOptions : PickerOptions
View Source
InheritanceObjectPickerOptions → FilePickerSaveOptions

Constructors

FilePickerSaveOptions()Initializes a new instance of the FilePickerSaveOptions class

Properties

DefaultExtensionGets or sets the default extension to be used to save the file.
FileTypeChoicesGets or sets the collection of valid file types that the user can choose to assign to a file.
ShowOverwritePromptGets or sets a value indicating whether file open picker displays a warning if the user specifies the name of a file that already exists.
SuggestedFileNameGets or sets the file name that the file picker suggests to the user.
(Inherited from PickerOptions)
SuggestedStartLocationGets 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).
(Inherited from PickerOptions)
TitleGets or sets the text that appears in the title bar of a picker.
(Inherited from PickerOptions)

Methods

Equals(Object)Determines whether the specified object is equal to the current object.
(Inherited from Object)
Finalize()Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCode()Serves as the default hash function.
(Inherited from Object)
GetType()Gets the Type of the current instance.
(Inherited from Object)
MemberwiseClone()Creates a shallow copy of the current Object.
(Inherited from Object)
ToString()Returns a string that represents the current object.
(Inherited from Object)

See Also

Reference

Avalonia.Platform.Storage Namespace