Skip to content

Commit b558b52

Browse files
committed
Add icon to title bar
1 parent 1969857 commit b558b52

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

samples/MvvmSampleUwp/Shell.xaml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
<muxc:NavigationView
2020
x:Name="NavigationView"
2121
BackRequested="NavigationView_OnBackRequested"
22-
IsBackEnabled="False"
2322
IsBackButtonVisible="Auto"
23+
IsBackEnabled="False"
2424
IsSettingsVisible="False"
2525
IsTitleBarAutoPaddingEnabled="False"
2626
ItemInvoked="NavigationView_OnItemInvoked">
@@ -163,7 +163,13 @@
163163
Padding="8,0,0,0"
164164
VerticalAlignment="Top"
165165
Background="Transparent">
166-
<TextBlock VerticalAlignment="Center" Text="MVVM Toolkit Sample App" />
166+
<StackPanel Orientation="Horizontal" Spacing="16">
167+
<Image
168+
Width="16"
169+
Height="16"
170+
Source="ms-appx:///Assets/StoreLogo.scale-400.png" />
171+
<TextBlock VerticalAlignment="Center" Text="MVVM Toolkit Sample App" />
172+
</StackPanel>
167173
</Border>
168174
</Grid>
169175
</UserControl>

0 commit comments

Comments
 (0)