Skip to content

Commit 84eef45

Browse files
committed
Rename main window f
1 parent eb599fb commit 84eef45

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

AuraClick/MainWindow.xaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
x:Name="AppTitleBar"
2424
x:Uid="AppTitleBar"
2525
BackRequested="TitleBar_BackRequested"
26-
IsBackButtonVisible="{x:Bind RootFrame.CanGoBack, Mode=OneWay}">
26+
IsBackButtonVisible="{x:Bind NavFrame.CanGoBack, Mode=OneWay}">
2727
<TitleBar.IconSource>
2828
<ImageIconSource ImageSource="Assets/AppIcon.ico" />
2929
</TitleBar.IconSource>
@@ -34,6 +34,6 @@
3434
MainPage.xaml rather than here so you can use Page features such as
3535
navigation events and the Loaded lifecycle.
3636
-->
37-
<Frame x:Name="RootFrame" Grid.Row="1" />
37+
<Frame x:Name="NavFrame" Grid.Row="1" />
3838
</Grid>
3939
</windowex:WindowEx>

AuraClick/MainWindow.xaml.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,11 @@ public MainWindow()
4242
AppWindow.SetIcon("Assets/AppIcon.ico");
4343

4444
// Navigate the root frame to the main page on startup.
45-
RootFrame.Navigate(typeof(MainPage));
45+
NavFrame.Navigate(typeof(MainPage));
4646
}
4747

4848
private void TitleBar_BackRequested(TitleBar sender, object args)
4949
{
50-
RootFrame.GoBack();
50+
NavFrame.GoBack();
5151
}
5252
}

0 commit comments

Comments
 (0)