f4cc81bb71
- Add theme system (Dark/Light palettes, ModernTheme, ThemeManager) - Add InputDialog, Spinner common view - Add DuplicatesCsvExportService - Refresh views, dialogs, and view models across tabs - Update localization strings (en/fr) - Tweak services (transfer, permissions, search, user access, ownership elevation, bulk operations) Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
39 lines
2.0 KiB
XML
39 lines
2.0 KiB
XML
<Window x:Class="SharepointToolbox.Views.Dialogs.FolderBrowserDialog"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:loc="clr-namespace:SharepointToolbox.Localization"
|
|
Title="{Binding Source={x:Static loc:TranslationSource.Instance}, Path=[folderbrowser.title]}"
|
|
Width="520" Height="560" WindowStartupLocation="CenterOwner"
|
|
Background="{DynamicResource AppBgBrush}"
|
|
Foreground="{DynamicResource TextBrush}"
|
|
TextOptions.TextFormattingMode="Ideal"
|
|
ResizeMode="CanResizeWithGrip">
|
|
<DockPanel Margin="10">
|
|
<!-- Status -->
|
|
<TextBlock x:Name="StatusText" DockPanel.Dock="Top" Margin="0,0,0,10"
|
|
Text="{Binding Source={x:Static loc:TranslationSource.Instance}, Path=[folderbrowser.loading]}" />
|
|
|
|
<!-- Action bar: new folder (destination mode only) -->
|
|
<StackPanel x:Name="ActionBar" DockPanel.Dock="Top" Orientation="Horizontal"
|
|
Margin="0,0,0,6" Visibility="Collapsed">
|
|
<Button x:Name="NewFolderButton" Content="+ New Folder"
|
|
Padding="8,3" Click="NewFolder_Click" IsEnabled="False" />
|
|
</StackPanel>
|
|
|
|
<!-- Buttons -->
|
|
<StackPanel DockPanel.Dock="Bottom" Orientation="Horizontal"
|
|
HorizontalAlignment="Right" Margin="0,10,0,0">
|
|
<Button Content="{Binding Source={x:Static loc:TranslationSource.Instance}, Path=[folderbrowser.cancel]}"
|
|
Width="80" Margin="0,0,10,0" IsCancel="True"
|
|
Click="Cancel_Click" />
|
|
<Button x:Name="SelectButton"
|
|
Content="{Binding Source={x:Static loc:TranslationSource.Instance}, Path=[folderbrowser.select]}"
|
|
Width="80" IsDefault="True" IsEnabled="False"
|
|
Click="Select_Click" />
|
|
</StackPanel>
|
|
|
|
<!-- Tree -->
|
|
<TreeView x:Name="FolderTree" SelectedItemChanged="FolderTree_SelectedItemChanged" />
|
|
</DockPanel>
|
|
</Window>
|