We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to get date and appointment details while tapping view header ?

In SfSchedule, you can get the selected date details in view header of Schedule using ViewHeaderTapped event which will be fired while tapping date in the view header panel.

 

XAML

 

In ViewHeaderTapped, DateTime of the selected date in the view header panel will be known. Selected date time will be known for all the schedule views. In month view, the dates in the first row (row immediate below the view header) will be known in the DateTime parameter in the event.

 

C#

 

You can also switch schedule views by setting the required ScheduleView type in the ViewHeaderTapped event.

../Desktop/Android_Gauge/ViewHeader_Date.jpg

 

You can download the source code for entire demo of switching schedule view through event from here, ScheduleSample.

Article ID: Published Date: Last Revised Date: Platform: Control:
6203 02/03/2016 03/22/2018 Xamarin.Forms SfSchedule
Did you find this information helpful?
Comments
Wiseman Mbatha Sep 20, 2016
I don't have this sample in my samples
Reply
Luuk Nov 01, 2016
Followed the sample and it does work! good job!

My only qeustion regarding this example is how do I allow multiple appointsments on the same time and day?
Reply
Add Comment
You must log in to leave a comment

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon