lilcodelab / Xamarin.Plugin.Calendar

Calendar plugin for Xamarin.Forms
MIT License
260 stars 60 forks source link

[Feature Request] No event handlers for changing month/year using the arrows (not by swiping) #71

Open sebastianszaniszlo opened 3 years ago

sebastianszaniszlo commented 3 years ago

Is your feature request related to a problem? Please describe. My use case is the following:

Describe the solution you'd like It would be nice to have some sort of event handler when changing months OR have a bindable property similar to SwipeLeftCommand and SwipeRightCommand

Describe alternatives you've considered I tried using a custom calendar header template but that is not really feasible because the binding context is still the calendar by reference.

Additional context N/A

morampudidivya commented 3 years ago

hi my use case is also the same do we have any solution for this issue? Thanks In Advance

sebastianszaniszlo commented 3 years ago

@morampudidivya I ended up using a custom template for the calendar header (You can use the provided one in the advanced calendar example). I decided not to use any arrows, and just use swiping to change months (Google calendar does the same so I think this is a viable solution). You can then create your own custom commands for swiping left and right.

morampudidivya commented 3 years ago

@sebastianszaniszlo thank you