I don't know some changes....
This commit is contained in:
@@ -1,59 +0,0 @@
|
||||
<ContentDialog
|
||||
x:Class="Wino.Dialogs.MoveMailDialog"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:controls="using:Wino.Controls"
|
||||
xmlns:helpers="using:Wino.Helpers"
|
||||
xmlns:muxc="using:Microsoft.UI.Xaml.Controls"
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:folders="using:Wino.Core.Domain.Models.Folders"
|
||||
Title="{x:Bind domain:Translator.MoveMailDialog_Title}"
|
||||
Style="{StaticResource WinoDialogStyle}"
|
||||
PrimaryButtonText="{x:Bind domain:Translator.Buttons_Cancel}"
|
||||
xmlns:domain="using:Wino.Core.Domain"
|
||||
DefaultButton="Primary"
|
||||
PrimaryButtonClick="CancelClicked"
|
||||
mc:Ignorable="d">
|
||||
|
||||
<ContentDialog.Resources>
|
||||
<x:Double x:Key="ContentDialogMinWidth">600</x:Double>
|
||||
<x:Double x:Key="ContentDialogMaxWidth">600</x:Double>
|
||||
<x:Double x:Key="ContentDialogMinHeight">756</x:Double>
|
||||
<x:Double x:Key="ContentDialogMaxHeight">756</x:Double>
|
||||
|
||||
<DataTemplate x:Key="FolderStructureMenuFlyoutItemTemplate" x:DataType="folders:IMailItemFolder">
|
||||
<muxc:TreeViewItem ItemsSource="{x:Bind ChildFolders}" IsExpanded="True">
|
||||
<StackPanel
|
||||
Height="32"
|
||||
Orientation="Horizontal"
|
||||
Spacing="12">
|
||||
<controls:WinoFontIcon FontSize="20" Icon="{x:Bind helpers:XamlHelpers.GetSpecialFolderPathIconGeometry(SpecialFolderType)}" />
|
||||
<TextBlock VerticalAlignment="Center" Text="{x:Bind FolderName}" />
|
||||
</StackPanel>
|
||||
</muxc:TreeViewItem>
|
||||
</DataTemplate>
|
||||
</ContentDialog.Resources>
|
||||
|
||||
<Grid>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="Auto" />
|
||||
<RowDefinition Height="*" />
|
||||
</Grid.RowDefinitions>
|
||||
|
||||
<TextBlock
|
||||
x:Name="InvalidFolderText"
|
||||
Margin="0,0,0,6"
|
||||
Visibility="Collapsed"
|
||||
Foreground="{ThemeResource InfoBarWarningSeverityIconBackground}" />
|
||||
|
||||
<muxc:TreeView
|
||||
x:Name="FolderTreeView"
|
||||
Grid.Row="1"
|
||||
CanDragItems="False"
|
||||
SelectedItem="{x:Bind SelectedFolder, Mode=TwoWay}"
|
||||
ItemTemplate="{StaticResource FolderStructureMenuFlyoutItemTemplate}"
|
||||
ItemsSource="{x:Bind FolderList, Mode=OneWay}"
|
||||
SelectionMode="Single" />
|
||||
</Grid>
|
||||
</ContentDialog>
|
||||
Reference in New Issue
Block a user