feat: Add ManagedFileChooser

This commit is contained in:
rabbitism
2023-01-30 22:08:55 +08:00
parent 0887dd5e31
commit 4bb5303375
7 changed files with 276 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
<UserControl
x:Class="Semi.Avalonia.Demo.Pages.ManagedFileChooserDemo"
xmlns="https://github.com/avaloniaui"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:dialogs="clr-namespace:Avalonia.Dialogs;assembly=Avalonia.Dialogs"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
d:DesignHeight="450"
d:DesignWidth="800"
mc:Ignorable="d">
<StackPanel HorizontalAlignment="Left" Spacing="10">
<Button Name="openFileDialog">Open File</Button>
<Button Name="selectFolderDialog">Select Folder</Button>
<Button Name="saveFileDialog">Save File</Button>
</StackPanel>
</UserControl>