forked from files-community/Files
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathColumnShellPage.xaml
60 lines (55 loc) · 1.8 KB
/
ColumnShellPage.xaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<!-- Copyright (c) Files Community. Licensed under the MIT License. -->
<local:BaseShellPage
x:Class="Files.App.Views.Shells.ColumnShellPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:local="using:Files.App.Views.Shells"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:wctconverters="using:CommunityToolkit.WinUI.UI.Converters"
x:Name="RootPage"
KeyboardAcceleratorPlacementMode="Hidden"
Loaded="Page_Loaded"
mc:Ignorable="d">
<local:BaseShellPage.Resources>
<ResourceDictionary>
<wctconverters:BoolNegationConverter x:Key="BoolNegationConverter" />
</ResourceDictionary>
</local:BaseShellPage.Resources>
<local:BaseShellPage.KeyboardAccelerators>
<KeyboardAccelerator
Key="V"
Invoked="KeyboardAccelerator_Invoked"
IsEnabled="{x:Bind IsCurrentInstance, Mode=OneWay}"
Modifiers="Control" />
</local:BaseShellPage.KeyboardAccelerators>
<Grid x:Name="RootGrid">
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="2*" />
<RowDefinition Height="Auto" />
<RowDefinition
x:Name="PreviewPaneRow"
Height="2*"
MaxHeight="400" />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="3*" />
<ColumnDefinition Width="Auto" />
<ColumnDefinition
x:Name="PreviewPaneColumn"
Width="2*"
MaxWidth="600" />
</Grid.ColumnDefinitions>
<Frame
x:Name="ItemDisplayFrame"
Grid.RowSpan="5"
Grid.ColumnSpan="3"
HorizontalAlignment="Stretch"
x:FieldModifier="public"
Canvas.ZIndex="30"
Navigated="ItemDisplayFrame_Navigated" />
</Grid>
</local:BaseShellPage>