Free, open-source file converter. Convert 263 formats offline by drag & drop — images, PDF, Word, Excel, PowerPoint, HWP/HWPX, video, audio, e-books and archives. No upload, no Office needed.
C# audio-converteravaloniabatch-conversionconvertercsharpdocument-converterdocx-to-pdfdotnetdrag-and-dropfile-conversionfile-converterheic-converterhwphwpximage-converterlinuxmacospdf-convertervideo-converterwindows
using Avalonia.Controls;
using Avalonia.Interactivity;
using Avalonia.Platform.Storage;
using Filee.App.ViewModels;
namespace Filee.App.Views;
public partial class PresetEditorView : UserControl
{
public PresetEditorView() => InitializeComponent();
private async void OnBrowseFolder(object? sender, RoutedEventArgs e)
{
if (DataContext is not PresetEditorViewModel vm || TopLevel.GetTopLevel(this) is not { } top)
return;
var folders = await top.StorageProvider.OpenFolderPickerAsync(new FolderPickerOpenOptions { AllowMultiple = false });
var path = folders.FirstOrDefault()?.TryGetLocalPath();
if (path is not null)
vm.CustomFolder = path;
}
}