NavigationViewTemplate Property Not Found
See original GitHub issueDescribe the bug UI Fails to load when attempting to create a control Template via the NavigationViewTemplate Property in Xaml.
Expected behavior Able to create a control Template via the NavigationViewTemplate Property in Xaml. Steps to reproduce OR link to code
<xc:CalendarView
x:Name="MyCally"
Days="{Binding Calendar.Days}"
DaysOfWeek="{Binding Calendar.DayNamesOrder}"
NavigatedDate="{Binding Calendar.NavigatedDate}">
<xc:CalendarView.NavigationViewTemplate>
<ControlTemplate>
<Label Text=" asdfasdfasdf" />
</ControlTemplate>
</xc:CalendarView.NavigationViewTemplate>
</xc:CalendarView>
Xamarin Forms or .NET MAUI (If related to UI)
Xamarin.Forms
Additional context (Optional)
Occurs in XCalendar.Forms 4.2.0 works fine in XCalendar.Forms 4.0.0 and 4.1.0
Device Info (Optional)
Device Model:
Android Version:
IOS Version:
Windows Version:

Issue Analytics
- State:
- Created 10 months ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Cannot bind Icon property in NavigationView ...
Sadly, it seems the default behaviour is that the contents of MenuItemTemplate are placed inside the NavigationViewItem 's ContentPresenter .
Read more >NavigationViewTemplateSettings is missing OpenPaneWidth
Copy NavigationView template into an app project, get warning about property on NavigationViewTemplateSettings not existing ...
Read more >NavigationView Class (Windows.UI.Xaml.Controls)
Represents a container that enables navigation of app content. It has a header, a view for the main content, and a menu pane...
Read more >NavigationView - Windows apps
NavigationView is an adaptive navigation control that works well for: Providing a consistent navigational experience throughout your app.
Read more >Navigating in a WinUI 3 Desktop application
In this article we describe a minimal framework for a navigation service in a WinUI 3 Desktop application on top of a NavigationView...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

This breaks the code
<xcViews:CalendarView x:Name=“cally” Grid.Row=“1” Days=“{Binding Calendar.Days}” DaysOfWeek=“{Binding Calendar.DayNamesOrder}” NavigatedDate=“{Binding Calendar.NavigatedDate}”> xcViews:CalendarView.NavigationViewTemplate <ControlTemplate> <xcViews:NavigationView HeightRequest=“0” /> </ControlTemplate> </xcViews:CalendarView.NavigationViewTemplate> xcViews:CalendarView.GestureRecognizers <SwipeGestureRecognizer Command="{Binding SwipeCommand}" CommandParameter="Left" Direction="Left" /> <SwipeGestureRecognizer Command="{Binding SwipeCommand}" CommandParameter="Right" Direction="Right" /> </xcViews:CalendarView.GestureRecognizers> xcViews:CalendarView.DayTemplate <DataTemplate> <xcViews:DayView TextColor=“#0A50E0” /> </DataTemplate> </xcViews:CalendarView.DayTemplate> </xcViews:CalendarView>
In what way does it break the code? What warnings/errors do you get? Or is there unexpected behaviour?