windowsforms-devexpress-dot-xtrascheduler-dot-googlecalendar-dot-dxgooglecalendarsync.md
Gets or sets a Google Calendar Service required to access Google Events.
Namespace : DevExpress.XtraScheduler.GoogleCalendar
Assembly : DevExpress.XtraScheduler.v25.2.GoogleCalendar.dll
NuGet Package : DevExpress.Win.Scheduler.GoogleCalendar
public object CalendarService { get; set; }
Public Property CalendarService As Object
| Type | Description |
|---|---|
| Object |
A Google Calendar Service object required to access and modify Google Calendar Events.
|
The following code snippets (auto-collected from DevExpress Examples) contain references to the CalendarService property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
winforms-scheduler-sync-with-google-calendars/CS/GCSync/Form1.cs#L72
});
this.gcSyncComponent.CalendarService = this.service;
await UpdateCalendarListUI();
this.dxGoogleCalendarSync1.CalendarId = ApplicationConfig.Instance.CalendarId;
this.dxGoogleCalendarSync1.CalendarService = this.service;
this.dxGoogleCalendarSync1.Synchronize();
winforms-scheduler-import-google-calendar/CS/GoogleCalendarExample/Form1.cs#L30
void Synchronize() {
this.dxGoogleCalendarSync1.CalendarService = CalendarService;
this.dxGoogleCalendarSync1.CalendarId = CalendarEntry.Id;
winforms-scheduler-sync-with-google-calendars/VB/GCSync/Form1.vb#L71
service = New CalendarService(New BaseClientService.Initializer() With {.HttpClientInitializer = credential, .ApplicationName = "Google Sync Sample"})
gcSyncComponent.CalendarService = service
Await UpdateCalendarListUI()
Me.dxGoogleCalendarSync1.CalendarId = ApplicationConfig.Instance.CalendarId
Me.dxGoogleCalendarSync1.CalendarService = Me.service
Me.dxGoogleCalendarSync1.Synchronize()
See Also