PickerOptions Class
Common options for OpenFolderPickerAsync(FolderPickerOpenOptions), OpenFilePickerAsync(FilePickerOpenOptions) and SaveFilePickerAsync(FilePickerSaveOptions) methods.
Definition
Namespace: Avalonia.Platform.Storage
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
public class PickerOptions
Public Class PickerOptions
type PickerOptions = class end
Inheritance | Object → PickerOptions |
Derived | Avalonia.Platform.Storage.FilePickerOpenOptions Avalonia.Platform.Storage.FilePickerSaveOptions Avalonia.Platform.Storage.FolderPickerOpenOptions |
Constructors
PickerOptions() | Initializes a new instance of the PickerOptions class |
Properties
SuggestedFileName | Gets or sets the file name that the file picker suggests to the user. |
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). |
Title | Gets or sets the text that appears in the title bar of a picker. |
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) |