Skip to content

Valrravn/how-to-synchronize-event-colors-with-scheduler-labels

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How to synchronize Google Event colors with Scheduler Labels

In this example, the Scheduler is bound to an Entity Framework Core data source.

To run the sample, you need to:

  • go to "Project | Manage NuGet packages..." to re-install EF Core and Google Calendar API packages used in this sample;
  • replace the contents of the client_secret.json file with a contents of your own credentials file. You can download this file at the .NET Quickstart Google help page.

At the first launch, the application will ask you to log in with any Google account.

To select a Google Calendar that you want to sync with the Scheduler, click the Options Ribbon button. To manually start synchronization click Sync.

On every synchronization, the custom UpdateLabels mehod retrieves colors used by Google Events and uses them to populate the Scheduler Label collection.

Colors are synchronized on the AppointmentValuesRequested / EventValuesRequested events. These events occur when the DXGoogleCalendarSync needs to retrieve Appointment data and assign it to a paired Event, or vice versa.

About

This example demonstrates how to sync Google Events with Scheduler Labels, and assign matching colors to them.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 100.0%