Table of Contents

Class ManagedFileDialogOptions

Namespace
Avalonia.Dialogs
Assembly
Avalonia.Dialogs.dll
public record ManagedFileDialogOptions : IEquatable<ManagedFileDialogOptions>
Inheritance
ManagedFileDialogOptions
Implements
Inherited Members

Constructors

ManagedFileDialogOptions()

public ManagedFileDialogOptions()

ManagedFileDialogOptions(ManagedFileDialogOptions)

protected ManagedFileDialogOptions(ManagedFileDialogOptions original)

Parameters

original ManagedFileDialogOptions

Properties

AllowDirectorySelection

public bool AllowDirectorySelection { get; set; }

Property Value

bool

ContentRootFactory

Allows to redefine content root. Can be a custom Window or any ContentControl (Popup hosted).

public Func<ContentControl>? ContentRootFactory { get; set; }

Property Value

Func<ContentControl>

CustomVolumeInfoProvider

Allows to redefine how root volumes are populated in the dialog.

public IMountedVolumeInfoProvider? CustomVolumeInfoProvider { get; set; }

Property Value

IMountedVolumeInfoProvider

EqualityContract

protected virtual Type EqualityContract { get; }

Property Value

Type

Methods

Equals(ManagedFileDialogOptions?)

public virtual bool Equals(ManagedFileDialogOptions? other)

Parameters

other ManagedFileDialogOptions

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

PrintMembers(StringBuilder)

protected virtual bool PrintMembers(StringBuilder builder)

Parameters

builder StringBuilder

Returns

bool

ToString()

public override string ToString()

Returns

string

Operators

operator ==(ManagedFileDialogOptions?, ManagedFileDialogOptions?)

public static bool operator ==(ManagedFileDialogOptions? left, ManagedFileDialogOptions? right)

Parameters

left ManagedFileDialogOptions
right ManagedFileDialogOptions

Returns

bool

operator !=(ManagedFileDialogOptions?, ManagedFileDialogOptions?)

public static bool operator !=(ManagedFileDialogOptions? left, ManagedFileDialogOptions? right)

Parameters

left ManagedFileDialogOptions
right ManagedFileDialogOptions

Returns

bool