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: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Top Navigation Drawer in Xamarin Shell example

Thread ID:

Created:

Updated:

Platform:

Replies:

148833 Nov 6,2019 04:11 AM UTC Nov 7,2019 12:06 PM UTC Xamarin.Forms 4
loading
Tags: SfSchedule
Tim Belvin
Asked On November 6, 2019 04:11 AM UTC

I am using the SfSchedule control for the calendaring functionality of my app. My app is using App.Shell. I would like to have a top Drawer that allows the user to toggle from Day View, WeekView, and MonthView. I can't find any sample of SfNavigationDrawer used in a Shell project. Can you point me in the right direction?

Rachel A [Syncfusion]
Replied On November 6, 2019 09:05 AM UTC

Hi Tim,

Greetings from Syncfusion.

We have prepared a sample using the Shell Page to navigate the month, day and week views in schedule using the navigation drawer. Please have the sample from the below link,

Sample Link: https://www.syncfusion.com/downloads/support/directtrac/general/ze/TestSfApp_d48ef1c1383624654

Please check with the sample and if the sample differs from the requirement please provide a pictorial representation of the same which will be helpful for us to provide a better solution.
 
 
Thanks, 
Rachel. 


Tim Belvin
Replied On November 6, 2019 07:40 PM UTC

Thank you so much! This was exactly what I needed.

Tim Belvin
Replied On November 6, 2019 11:54 PM UTC

Thanks again for the sample! Just what I needed - but now have a new challenge.

In the sample you provided, the SfSchedule control was added to the NavigationDrawer's ContentView in code behind. How to I setup the AppointmentMapping in code behind? I also want to bind a OnSelected to have a button for adding new Appointments. How do I set the values for SfSchedule.SelectionView from code behind?

For example, trying to map required fields, I get an exception when I try to run this:
schedule.AppintmentMapping.Colormapping = "color";   

Sorry for the newbie questions. 

Indumathi Ravichandran [Syncfusion]
Replied On November 7, 2019 12:06 PM UTC

Hi Tim,    
   
Regarding Query: How to I setup the AppointmentMapping in code behind?   
   
We have prepared a sample for setting the AppointmentMapping in code behind and there is no exception when ColorMapping, it is working fine as expected.   
  
Please find the sample from the below link.  
   
 
   
Also, we have User Guide documentation link for AppointmentMapping in code behind.   
   
UG link:    
   
Regarding Query:  To bind a OnSelected to have a button for adding new Appointments?   
   
We have prepared a sample for adding appointment when selecting the month cell.   
  
Please find the sample from the below link.  
   
   
Also, we have Appointment Editor sample in our SampleBrowser. Please find the below sample link.  
   
 
   
Regarding Query: How do I set the values for SfSchedule.SelectionView from code behind?   
   
We have added SelectionView topic in our User Guide documentation link. Please find User Guide documentation from the below links.   
   
UG links:   
   
   
Please let us know if you require further assistance from us.   
   
Regards,   
Indumathi R   


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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

Live Chat Icon For mobile
Live Chat Icon