Goodmornig,currently i open the time zone dialog with this code line:XamScheduleDataManager1.PromptForLocalTimeZone = PromptForLocalTimeZone.Always;Then i always select UTC. Is there any way to select the local time Zone by code - i don´t need a window?I looking forward to your help.Many thanksJan
Thank you for the code-snippet you have provided.
In order to set the LocalTimeZone programmatically, you can set the TimeZoneInfoProviderResolved.LocalTimeZoneId property of the ListScheduleDataConnector instance to TimeZoneInfo.Utc.Id.
DataConnector.TimeZoneInfoProviderResolved.LocalTimeZoneId = TimeZoneInfo.Utc.Id;
For more detailed information on the TimeZone support for the XamSchedule, you can take a look at the following topic.
If you have any questions, please let me know.
thank you so much. The problem is now resolved and I am very happy.
Thank you for your feedback.
I am glad to know that I was able to help you achieve the functionality you were looking for. I believe this thread can help other people looking for a similar solution.