|
2 | 2 | xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
3 | 3 | xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
4 | 4 | xmlns:local="using:Files" |
5 | | - xmlns:local1="using:Files.Interacts.Home" |
6 | | - xmlns:local2="using:Files.Interacts" |
7 | | - xmlns:local3="using:Files.Filesystem" |
8 | 5 | xmlns:d="http://schemas.microsoft.com/expression/blend/2008" |
9 | 6 | xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" |
10 | 7 | xmlns:Custom="using:Microsoft.Toolkit.Uwp.UI.Controls" |
|
13 | 10 | mc:Ignorable="d" |
14 | 11 | Background="{ThemeResource ApplicationPageBackgroundThemeBrush}" |
15 | 12 | xmlns:converters="using:Microsoft.Toolkit.Uwp.UI.Converters" |
16 | | - xmlns:ex="using:Microsoft.Toolkit.Uwp.UI.Extensions" |
17 | 13 | xmlns:Windows10version1809="http://schemas.microsoft.com/winfx/2006/xaml/presentation?IsApiContractPresent(Windows.Foundation.UniversalApiContract, 7)" |
18 | | - xmlns:Windows10version1903="http://schemas.microsoft.com/winfx/2006/xaml/presentation?IsApiContractPresent(Windows.Foundation.UniversalApiContract, 8)" |
19 | | - Loaded="Page_Loaded" |
20 | | - xmlns:primitives="using:Microsoft.UI.Xaml.Controls.Primitives" |
21 | | - xmlns:primitiveContract7Present="using:Microsoft.UI.Xaml.Controls.Primitives?IsApiContractPresent(Windows.Foundation.UniversalApiContract,7)" |
22 | | - xmlns:animations="using:Microsoft.Toolkit.Uwp.UI.Animations" |
23 | | - xmlns:animations1="using:Microsoft.Toolkit.Uwp.UI.Animations.Behaviors"> |
| 14 | + Loaded="Page_Loaded"> |
24 | 15 | <Page.Resources> |
25 | 16 | <Style x:Key="ListViewHeaderItemStyle1" TargetType="ListViewHeaderItem"> |
26 | 17 | <Setter Property="FontFamily" Value="{ThemeResource ContentControlThemeFontFamily}"/> |
|
631 | 622 | <Grid Margin="0,0,0,0" Canvas.ZIndex="2" x:Name="Ribbon" Grid.Row="0"> |
632 | 623 | <StackPanel Name="RibbonPanel" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Background="{StaticResource ApplicationPageBackgroundThemeBrush}" Orientation="Vertical"> |
633 | 624 | <Custom:TabView ItemsPanel="{StaticResource TabViewItemsPanel1}" TabWidthBehavior="Actual" Background="Transparent" Template="{StaticResource TabViewTemplate1}"> |
| 625 | + <Custom:TabView.ItemContainerTransitions> |
| 626 | + <TransitionCollection> |
| 627 | + </TransitionCollection> |
| 628 | + </Custom:TabView.ItemContainerTransitions> |
634 | 629 | <Custom:TabViewItem Template="{StaticResource TabViewItemFluentTemplate}" BorderThickness="0" Header="File" MinWidth="48" MinHeight="32" Width="Auto"> |
| 630 | + <Custom:TabViewItem.Resources> |
| 631 | + <ResourceDictionary Source="ms-appx:///Microsoft.UI.Xaml/DensityStyles/Compact.xaml" /> |
| 632 | + </Custom:TabViewItem.Resources> |
635 | 633 | <CommandBar Background="Transparent" OverflowButtonVisibility="Collapsed" DefaultLabelPosition="Right"> |
636 | 634 | <CommandBar.Content> |
637 | 635 | <CommandBar Background="Transparent" OverflowButtonVisibility="Collapsed" DefaultLabelPosition="Right"> |
|
641 | 639 | </CommandBar.Content> |
642 | 640 | </CommandBar> |
643 | 641 | </Custom:TabViewItem> |
644 | | - <Custom:TabViewItem Template="{StaticResource TabViewItemFluentTemplate}" IsSelected="True" BorderThickness="0" Header="Home" MinWidth="48" MinHeight="32" Width="Auto"> |
| 642 | + <Custom:TabViewItem Template="{StaticResource TabViewItemFluentTemplate}" IsSelected="True" BorderThickness="0" Header="Home" MinWidth="48" MinHeight="32" Width="Auto"> |
| 643 | + <Custom:TabViewItem.Resources> |
| 644 | + <ResourceDictionary Source="ms-appx:///Microsoft.UI.Xaml/DensityStyles/Compact.xaml" /> |
| 645 | + </Custom:TabViewItem.Resources> |
645 | 646 | <CommandBar Background="Transparent" OverflowButtonVisibility="Collapsed" DefaultLabelPosition="Right"> |
646 | 647 | <CommandBar.Content> |
647 | 648 | <CommandBar Background="Transparent" OverflowButtonVisibility="Collapsed" DefaultLabelPosition="Right"> |
|
673 | 674 | </CommandBar> |
674 | 675 | </Custom:TabViewItem> |
675 | 676 | <Custom:TabViewItem Template="{StaticResource TabViewItemFluentTemplate}" BorderThickness="0" Header="Share" MinWidth="48" MinHeight="32" Width="Auto"> |
| 677 | + <Custom:TabViewItem.Resources> |
| 678 | + <ResourceDictionary Source="ms-appx:///Microsoft.UI.Xaml/DensityStyles/Compact.xaml" /> |
| 679 | + </Custom:TabViewItem.Resources> |
676 | 680 | <CommandBar Background="Transparent" OverflowButtonVisibility="Collapsed" DefaultLabelPosition="Right"> |
677 | 681 | <CommandBar.Content> |
678 | 682 | <CommandBar Background="Transparent" OverflowButtonVisibility="Collapsed" DefaultLabelPosition="Right"> |
|
682 | 686 | </CommandBar> |
683 | 687 | </Custom:TabViewItem> |
684 | 688 | <Custom:TabViewItem Template="{StaticResource TabViewItemFluentTemplate}" BorderThickness="0" Header="Layout" MinWidth="48" MinHeight="32" Width="Auto"> |
| 689 | + <Custom:TabViewItem.Resources> |
| 690 | + <ResourceDictionary Source="ms-appx:///Microsoft.UI.Xaml/DensityStyles/Compact.xaml" /> |
| 691 | + </Custom:TabViewItem.Resources> |
685 | 692 | <CommandBar Background="Transparent" OverflowButtonVisibility="Collapsed" DefaultLabelPosition="Right"> |
686 | 693 | <CommandBar.Content> |
687 | 694 | <CommandBar Background="Transparent" OverflowButtonVisibility="Collapsed" DefaultLabelPosition="Right"> |
|
715 | 722 | </CommandBar> |
716 | 723 | </Custom:TabViewItem> |
717 | 724 | <Custom:TabViewItem Visibility="Collapsed" Name="SearchTools" Template="{StaticResource TabViewItemFluentTemplate}" BorderThickness="0" Header="Search" MinWidth="48" MinHeight="32" Width="Auto"> |
| 725 | + <Custom:TabViewItem.Resources> |
| 726 | + <ResourceDictionary Source="ms-appx:///Microsoft.UI.Xaml/DensityStyles/Compact.xaml" /> |
| 727 | + </Custom:TabViewItem.Resources> |
718 | 728 | <Custom:TabViewItem.Background> |
719 | 729 | <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0"> |
720 | 730 | <GradientStop Color="#FFD9D7D2" Offset="0"/> |
|
919 | 929 | </ListView.ItemTemplate> |
920 | 930 | </ListView> |
921 | 931 | <TextBlock Margin="10,10,10,5" Text="Drives" FontSize="14" FontWeight="Bold" Padding="0" VerticalAlignment="Stretch"/> |
922 | | - <ListView AllowDrop="True" CanReorderItems="True" ItemsSource="{x:Bind local:App.foundDrives}" SelectionChanged="DrivesList_SelectionChanged" SelectionMode="Single" IsItemClickEnabled="True" ItemClick="DrivesList_ItemClick" Name="DrivesList"> |
| 932 | + <ListView ItemsSource="{x:Bind local:App.foundDrives}" SelectionChanged="DrivesList_SelectionChanged" SelectionMode="Single" IsItemClickEnabled="True" ItemClick="DrivesList_ItemClick" Name="DrivesList"> |
923 | 933 | <ListView.Resources> |
924 | 934 | <ResourceDictionary Source="ms-appx:///Microsoft.UI.Xaml/DensityStyles/Compact.xaml" /> |
925 | 935 | </ListView.Resources> |
|
0 commit comments