windowsforms-devexpress-dot-xtrascheduler-dot-googlecalendar-dot-dxgooglecalendarsync-c3b7a36a.md
Gets or sets the CalendarListEntry.ID property of a Google Calendar, whose events should be synchronized with Scheduler Appointments.
Namespace : DevExpress.XtraScheduler.GoogleCalendar
Assembly : DevExpress.XtraScheduler.v25.2.GoogleCalendar.dll
NuGet Package : DevExpress.Win.Scheduler.GoogleCalendar
public string CalendarId { get; set; }
Public Property CalendarId As String
| Type | Description |
|---|---|
| String |
A String value that specifies a calendar identifier.
|
The following code snippets (auto-collected from DevExpress Examples) contain references to the CalendarId 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#L56
this.activeCalendarId = selectedCalendar.Id;
this.gcSyncComponent.CalendarId = selectedCalendar.Id;
this.gcSyncComponent.Synchronize();
void OnBbiSyncItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e) {
this.dxGoogleCalendarSync1.CalendarId = ApplicationConfig.Instance.CalendarId;
this.dxGoogleCalendarSync1.CalendarService = this.service;
winforms-scheduler-import-google-calendar/CS/GoogleCalendarExample/Form1.cs#L31
this.dxGoogleCalendarSync1.CalendarService = CalendarService;
this.dxGoogleCalendarSync1.CalendarId = CalendarEntry.Id;
this.dxGoogleCalendarSync1.Synchronize();
winforms-scheduler-sync-with-google-calendars/VB/GCSync/Form1.vb#L59
activeCalendarId = selectedCalendar.Id
gcSyncComponent.CalendarId = selectedCalendar.Id
gcSyncComponent.Synchronize()
Private Sub OnBbiSyncItemClick(ByVal sender As Object, ByVal e As DevExpress.XtraBars.ItemClickEventArgs) Handles bbiSync.ItemClick
Me.dxGoogleCalendarSync1.CalendarId = ApplicationConfig.Instance.CalendarId
Me.dxGoogleCalendarSync1.CalendarService = Me.service
See Also