From 169cd9d7435f75508dbae1aeff56c80e662ae416 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Burak=20Kaan=20K=C3=B6se?= Date: Tue, 3 Sep 2024 15:34:42 +0200 Subject: [PATCH] Disable tree view re orderings. --- Wino.Mail/Dialogs/MoveMailDialog.xaml | 1 + Wino.Mail/Views/Account/AccountDetailsPage.xaml | 9 +++++---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/Wino.Mail/Dialogs/MoveMailDialog.xaml b/Wino.Mail/Dialogs/MoveMailDialog.xaml index 970b300d..dff1bd8c 100644 --- a/Wino.Mail/Dialogs/MoveMailDialog.xaml +++ b/Wino.Mail/Dialogs/MoveMailDialog.xaml @@ -51,6 +51,7 @@ x:Name="FolderTreeView" Grid.Row="1" CanDragItems="False" + CanReorderItems="False" SelectedItem="{x:Bind SelectedFolder, Mode=TwoWay}" ItemTemplate="{StaticResource FolderStructureMenuFlyoutItemTemplate}" ItemsSource="{x:Bind FolderList, Mode=OneWay}" diff --git a/Wino.Mail/Views/Account/AccountDetailsPage.xaml b/Wino.Mail/Views/Account/AccountDetailsPage.xaml index 565271a8..5903d054 100644 --- a/Wino.Mail/Views/Account/AccountDetailsPage.xaml +++ b/Wino.Mail/Views/Account/AccountDetailsPage.xaml @@ -7,16 +7,16 @@ xmlns:controls1="using:Wino.Controls" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:domain="using:Wino.Core.Domain" + xmlns:entites="using:Wino.Core.Domain.Entities" xmlns:folders="using:Wino.Core.Domain.Models.Folders" xmlns:helpers="using:Wino.Helpers" - xmlns:ui="using:Microsoft.Toolkit.Uwp.UI" - xmlns:entites="using:Wino.Core.Domain.Entities" xmlns:interactionsCore="using:Microsoft.Xaml.Interactions.Core" xmlns:interactivity="using:Microsoft.Xaml.Interactivity" xmlns:interfaces="using:Wino.Core.Domain.Interfaces" xmlns:local="using:Wino.Views" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:muxc="using:Microsoft.UI.Xaml.Controls" + xmlns:ui="using:Microsoft.Toolkit.Uwp.UI" x:Name="root" mc:Ignorable="d"> @@ -80,10 +80,10 @@ + Header="{x:Bind domain:Translator.SettingsManageAliases_Title}" + IsClickEnabled="True"> @@ -143,6 +143,7 @@ Grid.Row="1" Grid.ColumnSpan="2" CanDragItems="False" + CanReorderItems="False" ItemTemplate="{StaticResource FolderStructureMenuFlyoutItemTemplate}" ItemsSource="{x:Bind ViewModel.CurrentFolders, Mode=OneWay}" SelectionMode="None" />