Skip to content

Commit 4c6b394

Browse files
committed
UI tweaks to the shell
1 parent 19286d3 commit 4c6b394

File tree

1 file changed

+27
-7
lines changed

1 file changed

+27
-7
lines changed

samples/MvvmSampleUwp/MvvmSampleUwp/Shell.xaml

Lines changed: 27 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
77
xmlns:muxc="using:Microsoft.UI.Xaml.Controls"
88
xmlns:mvvmSampleUwp="using:MvvmSampleUwp"
9+
xmlns:extensions="using:Microsoft.Toolkit.Uwp.UI.Extensions"
910
mc:Ignorable="d"
1011
d:DesignHeight="300"
1112
d:DesignWidth="400"
@@ -108,22 +109,41 @@
108109
<muxc:NavigationViewItem
109110
x:Name="RedditBrowserOverviewItem"
110111
Content="Putting Things Together"
111-
Icon="Contact"
112+
Icon="{extensions:FontIcon Glyph=&#xE74C;}"
112113
ToolTipService.ToolTip="Examples of how to put multiple pieces together for building an app.">
113114
<muxc:NavigationViewItem.MenuItems>
114115
<muxc:NavigationViewItem
115116
x:Name="ViewModelsSetupItem"
116-
Content="Setting up the ViewModels" Icon="Mail" ToolTipService.ToolTip="Mail"/>
117-
<muxc:NavigationViewItem Content="Creating a Service" Icon="Calendar" ToolTipService.ToolTip="Calendar">
117+
Content="Setting up the ViewModels"
118+
Icon="{extensions:FontIcon Glyph=&#xEBD2;}"
119+
ToolTipService.ToolTip="Setting up viewmodels for the two widgets."/>
120+
<muxc:NavigationViewItem
121+
Content="Creating a Service"
122+
Icon="{extensions:FontIcon Glyph=&#xF69E;}"
123+
ToolTipService.ToolTip="Build custom services to expand the app's functionalities.">
118124
<muxc:NavigationViewItem.MenuItems>
119-
<muxc:NavigationViewItem x:Name="SettingsServiceItem" Content="Settings service" Icon="Mail" ToolTipService.ToolTip="Mail" />
120-
<muxc:NavigationViewItem x:Name="RedditServiceItem" Content="Reddit service" Icon="Mail" ToolTipService.ToolTip="Mail" />
125+
<muxc:NavigationViewItem
126+
x:Name="SettingsServiceItem"
127+
Content="Settings service"
128+
Icon="Repair"
129+
ToolTipService.ToolTip="Implementing and injecting a settings service." />
130+
<muxc:NavigationViewItem
131+
x:Name="RedditServiceItem"
132+
Content="Reddit service"
133+
Icon="World"
134+
ToolTipService.ToolTip="Injecting a service to use Reddit APIs." />
121135
</muxc:NavigationViewItem.MenuItems>
122136
</muxc:NavigationViewItem>
123137
<muxc:NavigationViewItem
124138
x:Name="BuildingTheUIItem"
125-
Content="Building the UI" Icon="Mail" ToolTipService.ToolTip="Mail"/>
126-
<muxc:NavigationViewItem x:Name="FinalResultItem" Content="The final result!" Icon="Mail" ToolTipService.ToolTip="Mail"/>
139+
Content="Building the UI"
140+
Icon="{extensions:FontIcon Glyph=&#xEB3C;}"
141+
ToolTipService.ToolTip="Building the UI to connect to the backend."/>
142+
<muxc:NavigationViewItem
143+
x:Name="FinalResultItem"
144+
Content="The final result!"
145+
Icon="{extensions:FontIcon Glyph=&#xF1AD;}"
146+
ToolTipService.ToolTip="The final working sample!"/>
127147
</muxc:NavigationViewItem.MenuItems>
128148
</muxc:NavigationViewItem>
129149
</muxc:NavigationView.MenuItems>

0 commit comments

Comments
 (0)