NavigationViewItem ContentTemplate #272
Unanswered
EtherGhost
asked this question in
Q&A
Replies: 1 comment 5 replies
-
If your items are bound, bind the VM into Content and set the ContentTemplate then: <ui:NavigationView>
<ui:NavigationView.MenuItemTemplate>
<DataTemplate DataType="...">
<!-- or declare the template inline like this one -->
<ui:NavigationViewItem Content="{Binding }" ContentTemplate="{StaticResource MyDataTemplate}" />
</DataTemplate>
</ui:NavigationView.MenuItemTemplate>
<ui:NavigationView> |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi!
How do you set the NavigationViewItem ContentTemplate?
Beta Was this translation helpful? Give feedback.
All reactions