|
19 | 19 | x:Name="PageRoot"
|
20 | 20 | mc:Ignorable="d">
|
21 | 21 | <local:BaseLayout.Resources>
|
22 |
| - <Style x:Key="ListViewItemStandardContextFlyout" TargetType="ListViewItem"> |
23 |
| - <Setter Property="ContextFlyout" Value="{StaticResource BaseLayoutItemContextFlyout}" /> |
24 |
| - <Setter Property="Padding" Value="0"/> |
25 |
| - <Setter Property="HorizontalContentAlignment" Value="Stretch"/> |
26 |
| - <Setter Property="BorderThickness" Value="0"/> |
27 |
| - </Style> |
28 |
| - <Style x:Key="ListViewItemRecycleBinContextFlyout" TargetType="ListViewItem"> |
29 |
| - <Setter Property="ContextFlyout" Value="{StaticResource BaseLayoutRecycleBinItemContextFlyout}" /> |
30 |
| - <Setter Property="Padding" Value="0"/> |
31 |
| - <Setter Property="HorizontalContentAlignment" Value="Stretch"/> |
32 |
| - <Setter Property="BorderThickness" Value="0"/> |
33 |
| - </Style> |
34 |
| - <converters:BoolNegationConverter x:Key="BoolNegationConverter" /> |
| 22 | + <converters:BoolNegationConverter x:Key="BoolNegationConverter" /> |
35 | 23 | <converters:BoolToVisibilityConverter
|
36 | 24 | x:Key="NegatedBoolToVisibilityConverter"
|
37 | 25 | FalseValue="Visible"
|
|
43 | 31 | <Setter Property="TitleBarVisibility" Value="Collapsed"></Setter>
|
44 | 32 | <Setter Property="BorderThickness" Value="0,0,1,0"></Setter>
|
45 | 33 | </Style>
|
46 |
| - <!--<DataTemplate x:Name="ListViewBrowserTemplate" x:DataType="local2:ListedItem"> |
47 |
| - <Grid Margin="10,0" |
48 |
| - Height="32" |
49 |
| - HorizontalAlignment="Stretch" |
50 |
| - VerticalAlignment="Stretch" |
51 |
| - Background="Transparent" |
52 |
| - IsRightTapEnabled="True" |
53 |
| - RightTapped="StackPanel_RightTapped" |
54 |
| - ToolTipService.ToolTip="{x:Bind ItemName, Mode=OneWay}"> |
55 |
| - <Grid.ColumnDefinitions> |
56 |
| - <ColumnDefinition Width="24" /> |
57 |
| - <ColumnDefinition Width="*" /> |
58 |
| - <ColumnDefinition Width="Auto" /> |
59 |
| - </Grid.ColumnDefinitions> |
60 |
| - <Grid |
61 |
| - Grid.Column="0" |
62 |
| - Width="24" |
63 |
| - Height="24" |
64 |
| - Opacity="{x:Bind Opacity, Mode=OneWay}" |
65 |
| - Tag="ItemImage"> |
66 |
| - <Image |
67 |
| - x:Name="Picture" |
68 |
| - HorizontalAlignment="Stretch" |
69 |
| - VerticalAlignment="Stretch" |
70 |
| - x:Load="{x:Bind LoadFileIcon, Mode=OneWay}" |
71 |
| - x:Phase="1" |
72 |
| - Source="{x:Bind FileImage, Mode=OneWay}" |
73 |
| - Stretch="Uniform" /> |
74 |
| - <Image |
75 |
| - x:Name="FolderGlyph" |
76 |
| - HorizontalAlignment="Stretch" |
77 |
| - VerticalAlignment="Stretch" |
78 |
| - x:Load="{x:Bind LoadFolderGlyph, Mode=OneWay}" |
79 |
| - x:Phase="1" |
80 |
| - Stretch="Uniform"> |
81 |
| - <Image.Source> |
82 |
| - <SvgImageSource |
83 |
| - RasterizePixelHeight="256" |
84 |
| - RasterizePixelWidth="256" |
85 |
| - UriSource="{x:Bind FolderIconSourceLarge}" /> |
86 |
| - </Image.Source> |
87 |
| - </Image> |
88 |
| - <Viewbox |
89 |
| - x:Name="TypeUnknownGlyph" |
90 |
| - MaxWidth="24" |
91 |
| - MaxHeight="24" |
92 |
| - HorizontalAlignment="Stretch" |
93 |
| - VerticalAlignment="Stretch" |
94 |
| - x:Load="{x:Bind LoadUnknownTypeGlyph, Mode=OneWay}" |
95 |
| - x:Phase="1"> |
96 |
| - <FontIcon Glyph="" /> |
97 |
| - </Viewbox> |
98 |
| - <Image |
99 |
| - x:Name="IconOverlay" |
100 |
| - Width="16" |
101 |
| - Height="16" |
102 |
| - HorizontalAlignment="Left" |
103 |
| - VerticalAlignment="Bottom" |
104 |
| - x:Load="True" |
105 |
| - x:Phase="1" |
106 |
| - Source="{x:Bind IconOverlay, Mode=OneWay}" |
107 |
| - Stretch="Uniform" /> |
108 |
| - <Viewbox |
109 |
| - x:Name="WebShortcutGlyph" |
110 |
| - MaxWidth="24" |
111 |
| - MaxHeight="24" |
112 |
| - HorizontalAlignment="Stretch" |
113 |
| - VerticalAlignment="Stretch" |
114 |
| - x:Load="{x:Bind LoadWebShortcutGlyph, Mode=OneWay}" |
115 |
| - x:Phase="1"> |
116 |
| - <FontIcon FontSize="20" Glyph="" /> |
117 |
| - </Viewbox> |
118 |
| - <Border |
119 |
| - x:Name="ShortcutGlyphElement" |
120 |
| - HorizontalAlignment="Left" |
121 |
| - VerticalAlignment="Bottom" |
122 |
| - x:Load="{x:Bind IsShortcutItem}" |
123 |
| - x:Phase="1" |
124 |
| - Background="{ThemeResource ApplicationPageBackgroundThemeBrush}" |
125 |
| - BorderBrush="{ThemeResource ApplicationForegroundThemeBrush}" |
126 |
| - BorderThickness="1"> |
127 |
| - <FontIcon |
128 |
| - FontFamily="{StaticResource CustomGlyph}" |
129 |
| - FontSize="14" |
130 |
| - Glyph="" /> |
131 |
| - </Border> |
132 |
| - </Grid> |
133 |
| - <Grid |
134 |
| - Grid.Column="1" |
135 |
| - Margin="5,0,5,0" |
136 |
| - HorizontalAlignment="Left"> |
137 |
| - <TextBlock |
138 |
| - x:Name="ItemName" |
139 |
| - Grid.Column="1" |
140 |
| - HorizontalAlignment="Stretch" |
141 |
| - VerticalAlignment="Center" |
142 |
| - Text="{x:Bind ItemName, Mode=OneWay}" |
143 |
| - TextTrimming="CharacterEllipsis" |
144 |
| - TextWrapping="NoWrap" /> |
145 |
| - </Grid> |
146 |
| - <Popup |
147 |
| - x:Name="EditPopup" |
148 |
| - Grid.Column="1" |
149 |
| - x:Load="False"> |
150 |
| - <TextBox |
151 |
| - x:Name="ListViewTextBoxItemName" |
152 |
| - |
153 |
| - Margin="0" |
154 |
| - HorizontalAlignment="Stretch" |
155 |
| - VerticalAlignment="Stretch" |
156 |
| - Text="{x:Bind ItemName, Mode=OneWay}" |
157 |
| - TextAlignment="Center" |
158 |
| - TextChanged="ListViewTextBoxItemName_TextChanged" |
159 |
| - TextWrapping="Wrap" /> |
160 |
| - </Popup> |
161 |
| - <Grid Grid.Column="2"> |
162 |
| - <FontIcon |
163 |
| - x:Name="CloudDriveSyncStatusGlyph" |
164 |
| - Margin="0,0,0,0" |
165 |
| - VerticalAlignment="Center" HorizontalAlignment="Center" |
166 |
| - x:Load="{x:Bind ((local3:CloudDriveSyncStatusUI)SyncStatusUI).LoadSyncStatus, Mode=OneWay}" |
167 |
| - x:Phase="2" |
168 |
| - FontSize="18" |
169 |
| - Foreground="{x:Bind ((local3:CloudDriveSyncStatusUI)SyncStatusUI).Foreground, Mode=OneWay}" |
170 |
| - Glyph="{x:Bind ((local3:CloudDriveSyncStatusUI)SyncStatusUI).Glyph, Mode=OneWay}" /> |
171 |
| - </Grid> |
172 |
| - </Grid> |
173 |
| - </DataTemplate>--> |
174 | 34 | </local:BaseLayout.Resources>
|
175 | 35 | <Grid
|
176 | 36 | x:Name="RootGrid"
|
|
0 commit comments