Open DavidChaiOne opened 1 year ago
Are you able to run the sample app? Every example makes use of the NavigationViewTemplate
property so see if you can get to at least one of those pages. What happens if you try to reference NavigationViewTemplate
using a CalendarView in C#?
Could not replicate the issue using this repo
Could not replicate the issue using this repo
Repo not accessible. Error occurs on 4.2.0 consistently.
Repo is public now. Are you able to run it without issues?
Ran your repo, works as expected
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?
@DavidChaiOne are you still experiencing this issue?
Describe 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
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: