Version

CalendarInfo Property (Appointment)

Gets/sets the UltraCalendarInfo component which owns the Appointment object.
Syntax
'Declaration
 
Public Property CalendarInfo As UltraCalendarInfo
public UltraCalendarInfo CalendarInfo {get; set;}
Remarks

The CalendarInfo property can be used to move the Appointment to a different UltraCalendarInfo object's AppointmentsCollection.

Note: Setting the CalendarInfo property to null (Nothing in VB) is not permitted and will cause an exception to be thrown.

Also note that when the CalendarInfo property is set to a different UltraCalendarInfo instance, it is removed from the AppointmentsCollection of the original one. If the BeforeAppointmentRemoved event is canceled, setting the CalendarInfo property will have no effect.



Similarly, if the BeforeAppointmentAdded event is canceled, setting the CalendarInfo property will have no effect.



If the Appointment is Selected when its CalendarInfo property is set, the Selected property is set to false when it is moved to the new UltraCalendarInfo instance.

If the Appointment is currently open in either the AppointmentDialog or the ReminderDialog, the dialog is closed before the Appointment is moved to the new UltraCalendarInfo instance.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also