Skip to main content

FilePickerOpenOptions Class

Options class for OpenFilePickerAsync(FilePickerOpenOptions) method.

Definition

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

public class FilePickerOpenOptions : PickerOptions
View Source
InheritanceObjectPickerOptions → FilePickerOpenOptions

Constructors

FilePickerOpenOptions()Initializes a new instance of the FilePickerOpenOptions class

Properties

AllowMultipleGets or sets an option indicating whether open picker allows users to select multiple files.
FileTypeFilterGets or sets the collection of file types that the file open picker displays.
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