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.
Unfortunately, activation email could not send to your email. Please try again.

ScheduleView enum can be multilingual?

Thread ID:

Created:

Updated:

Platform:

Replies:

130044 Apr 18,2017 06:47 AM Apr 20,2017 12:54 AM Xamarin.Forms 3
loading
Tags: SfSchedule
Emil
Asked On April 18, 2017 06:47 AM

as you can see in the screenshot, I am using ScheduleView  enum to switch between dayview, monthview etc., thats how you have it in your sample app as well. Do you know if there is anychance I can make this culture dependent? Sfschedule view works fine when i apply   Locale="{Binding SfScheduleLocale}"  but ScheduleView  enum remains English always?
Attachment: Capture_7c86ee1d.7z

Subburaj Pandian Veluchamy [Syncfusion]
Replied On April 19, 2017 05:06 AM

Hi Emil, 
 
Thank you for contacting Syncfusion support. 
 
In the SampleBrowser, we have added ListView in the Customer Header in Xamarin Forms and set the ListView (scheduleview_list) item source as ScheduleView types. Which is a sample level achievement to change the Type of the ScheduleViews in the Sample. By setting the required item source to the ListView based on culture instead of setting ScheduleView enum, you can achieve your requirement of culture based types in the sample. Please refer the below code example, 
 
[c#] 
scheduleview_list.ItemsSource = list; 
 
 
By setting the required item source (list of strings based on culture) in the ListView, you can achive your requirement. We have prepared simple sample based on this scenario, please find the sample by the following link. 
 
Sample link: ScheduleView_Sample 
  
In the Sample, we have List of Strings for ScheduleViews (Day, Week..) and set the list as the ItemSource of ListView. By changing the Strings collection based on your required culture you can achieve your requirement. 
 
Could you please check the sample and let us know with more details, if you have any query on this. 
  
Regards,  
Subburaj Pandian V.    


Emil
Replied On April 19, 2017 11:52 AM

that is a good solution. thank you

Subburaj Pandian Veluchamy [Syncfusion]
Replied On April 20, 2017 12:54 AM

Hi Emil, 
 
Thank you for the update. We are happy that the mentioned query got resolved with the provided solution. 
 
Please let us know, if you need any further assistance. 
 
Regards,   
Subburaj Pandian V   


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.

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.

;