Back to Devexpress

DXGoogleCalendarSync.CompareEventAndAppointment Event

windowsforms-devexpress-dot-xtrascheduler-dot-googlecalendar-dot-dxgooglecalendarsync-0a103256.md

latest3.1 KB
Original Source

DXGoogleCalendarSync.CompareEventAndAppointment Event

Allows you to manually compare a Google Event with its paired Scheduler Appointment, and decide whether these objects are equal.

Namespace : DevExpress.XtraScheduler.GoogleCalendar

Assembly : DevExpress.XtraScheduler.v25.2.GoogleCalendar.dll

NuGet Package : DevExpress.Win.Scheduler.GoogleCalendar

Declaration

csharp
public event CompareEventAndAppointmentEventHandler CompareEventAndAppointment
vb
Public Event CompareEventAndAppointment As CompareEventAndAppointmentEventHandler

Event Data

The CompareEventAndAppointment event's data class is DevExpress.XtraScheduler.GoogleCalendar.CompareEventAndAppointmentEventArgs.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the CompareEventAndAppointment event.

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-google-event-colors-with-labels/CS/SchedulerGSync/SchedulerGSync/MainForm.cs#L49

csharp
this.dxGoogleCalendarSync1.AppointmentValuesRequested += OnAppointmentValuesRequested;
    this.dxGoogleCalendarSync1.CompareEventAndAppointment += OnCompareEventAndAppointment;
}

winforms-scheduler-sync-google-event-colors-with-labels/VB/SchedulerGSync/SchedulerGSync/MainForm.vb#L51

vb
AddHandler dxGoogleCalendarSync1.AppointmentValuesRequested, AddressOf OnAppointmentValuesRequested
    AddHandler dxGoogleCalendarSync1.CompareEventAndAppointment, AddressOf OnCompareEventAndAppointment
End Sub

See Also

Google Calendars

DXGoogleCalendarSync Class

DXGoogleCalendarSync Members

DevExpress.XtraScheduler.GoogleCalendar Namespace