using System;
using Avalonia.Controls;
using Avalonia.Controls.Platform;
namespace Avalonia.Dialogs
{
public record ManagedFileDialogOptions
{
public bool AllowDirectorySelection { get; set; }
///
/// Allows to redefine how root volumes are populated in the dialog.
///
public IMountedVolumeInfoProvider? CustomVolumeInfoProvider { get; set; }
///
/// Allows to redefine content root.
/// Can be a custom Window or any ContentControl (Popup hosted).
///
public Func? ContentRootFactory { get; set; }
}
}