A cross-platform UI framework for .NET
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

22 lines
662 B

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