Skip to content

Commit e2e52ec

Browse files
committed
Change Name tags to x:Name
1 parent 77be321 commit e2e52ec

32 files changed

+121
-123
lines changed

Files UWP/AddItem.xaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@
1010

1111
<Grid>
1212
<StackPanel Spacing="25" Orientation="Vertical">
13-
<Grid Name="SubtitleArea">
14-
<TextBlock Name="Description" Text="Choose a type below for this new item."/>
13+
<Grid x:Name="SubtitleArea">
14+
<TextBlock x:Name="Description" Text="Choose a type below for this new item."/>
1515
</Grid>
16-
<Grid Name="SelectionListContent" HorizontalAlignment="Stretch">
16+
<Grid x:Name="SelectionListContent" HorizontalAlignment="Stretch">
1717
<StackPanel>
18-
<ListView Name="AddItemsListView" IsItemClickEnabled="True" ItemClick="ListView_ItemClick" ItemsSource="{x:Bind local:AddItem.AddItemsList}">
18+
<ListView x:Name="AddItemsListView" IsItemClickEnabled="True" ItemClick="ListView_ItemClick" ItemsSource="{x:Bind local:AddItem.AddItemsList}">
1919
<ListView.ItemTemplate>
2020
<DataTemplate>
2121
<Grid Height="50">
1.4 KB
Loading
7.52 KB
Loading
2.87 KB
Loading
1.61 KB
Loading
1.23 KB
Loading

Files UWP/Assets/StoreLogo.png

1.42 KB
Loading
3.13 KB
Loading

Files UWP/Dialogs/AddItemDialog.xaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
88
mc:Ignorable="d"
99
xmlns:Windows10version1903="http://schemas.microsoft.com/winfx/2006/xaml/presentation?IsApiContractPresent(Windows.Foundation.UniversalApiContract, 8)"
10-
CornerRadius="4" Title="Create a New Item" Grid.RowSpan="4" Background="{StaticResource ApplicationPageBackgroundThemeBrush}" BorderThickness="0" Name="AddDialog" PrimaryButtonText="Cancel">
10+
CornerRadius="4" Title="Create a New Item" Grid.RowSpan="4" Background="{StaticResource ApplicationPageBackgroundThemeBrush}" BorderThickness="0" x:Name="AddDialog" PrimaryButtonText="Cancel">
1111

12-
<Frame Width="450" Name="AddDialogFrame"/>
12+
<Frame Width="450" x:Name="AddDialogFrame"/>
1313
</ContentDialog>

Files UWP/Dialogs/ConsentDialog.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
88
mc:Ignorable="d"
99
xmlns:Windows10version1903="http://schemas.microsoft.com/winfx/2006/xaml/presentation?IsApiContractPresent(Windows.Foundation.UniversalApiContract, 8)"
10-
CornerRadius="4" Grid.RowSpan="4" DefaultButton="Primary" PrimaryButtonClick="PermissionDialog_PrimaryButtonClick" PrimaryButtonText="Grant Permission" Name="PermissionDialog" Title="Welcome to Files">
10+
CornerRadius="4" Grid.RowSpan="4" DefaultButton="Primary" PrimaryButtonClick="PermissionDialog_PrimaryButtonClick" PrimaryButtonText="Grant Permission" x:Name="PermissionDialog" Title="Welcome to Files">
1111

1212
<Grid>
1313
<TextBlock TextWrapping="WrapWholeWords" Text="To get started, you'll need to grant us permission to display your files. This will open a Settings page where you can grant us this permission. You'll need to reopen the app once completed. "/>

0 commit comments

Comments
 (0)