Version

UltraCalendarInfo Class Methods

For a list of all members of this type, see UltraCalendarInfo members.

Public Methods
 NameDescription
Public MethodActivateDayCreates a Day object for the specified DateTime if one has not already been created, and assigns that instance to the ActiveDay property.  
Public MethodCheckAppointmentRemindersForces a reminder check, causing the BeforeDisplayReminderDialog event to fire for any Appointment objects whose reminder is past due.  
Public MethodCreateObjRefCreates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from System.MarshalByRefObject)
Public MethodDisplayAppointmentDialogOverloaded. Display an Appointment Dialog for an existing Appointment.  
Public MethodDisposeOverloaded. Overridden. Releases the unmanaged resources used by the System.ComponentModel.Component and optionally releases the managed resources.  
Public MethodDoesDateRangeHaveActivityOverloaded. Indicates if any activity occurs within the specified date range.  
Public Methodstatic (Shared in Visual Basic)ExportICalendarOverloaded. Exports appointment to iCalendar format.  
Public Methodstatic (Shared in Visual Basic)ForceEarliestTimeOfDayReturns the earliest date and time for the date specified.  
Public Methodstatic (Shared in Visual Basic)ForceLatestTimeOfDayReturns a DateTime corresponding with the last second of the day.  
Public MethodGetAppointmentsInRangeOverloaded. Returns a collection of Appointment objects that have any part of the appointment in the specified date range.  
Public MethodGetClosestSelectableDateReturns the closest enabled date to the startDate specified.  
Public MethodGetClosestSelectableDayReturns the closest enabled Day to the date specified.  
Public MethodGetClosestWorkTimeOverloaded. Returns the date/time that is closest to the specified value and also falls within working hours.  
Public MethodGetDateForFirstDayOfWeekOverloaded. Returns a System.DateTime for the first day of the week containing the date.  
Public MethodGetDayReturns a Day object for a specified date.  
Public MethodGetFirstWeekOfYearDateReturns the System.DateTime for the first day of the year in the first week of the year.  
Public MethodGetHolidaysInRangeReturns a collection of Holiday objects that are at least partially in the specified date range.  
Public MethodGetLifetimeServiceRetrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from System.MarshalByRefObject)
Public MethodGetMonthOverloaded. Returns a Month object for a specified year and month.  
Public MethodGetNotesInRangeOverloaded. Returns a collection of Note objects that are at least partially in the specified date range.  
Public MethodGetWeekOverloaded. Returns a Week object for a specified week and year.  
Public MethodGetWeekNumberForDateOverloaded. Returns the week number for a particular date using the current WeekRule and FirstDayOfWeekResolved.  
Public MethodGetWeekNumberForFirstDayOfMonthReturns the week number for the first day of a particular month.  
Public MethodGetWeekNumberForLastDayOfMonthReturns the week number for the last day of a particular month and year.  
Public MethodGetYearReturns a Year object for a specified year.  
Public MethodInitializeLifetimeServiceObtains a lifetime service object to control the lifetime policy for this instance. (Inherited from System.MarshalByRefObject)
Public MethodIsInWorkingHoursOverloaded. Returns a boolean value indicating whether the specified date and times fall within working hours.  
Public MethodIsWorkDayOverloaded. Returns a boolean value indicating whether the specified date is a work day.  
Public MethodLastWeekNumberInYearReturns the last week number for a particular year.  
Public MethodLoadOverloaded. Loads UltraCalendarInfo data from a stream.  
Public MethodLoadComponentSettingsLoads the user configuration settings for this component.  
Public MethodLoadFromXmlOverloaded. Loads UltraCalendarInfo data from an xml stream.  
Public MethodResetResets all properties of this object to their default values.  
Public MethodResetActiveDayResets ActiveDay to its default value.  
Public MethodResetAllDayEventEndTimeBoundaryResets the AllDayEventEndTimeBoundary property to its default value.  
Public MethodResetAllowAllDayEventsResets AllowAllDayEvents to its default value.  
Public MethodResetAllowRecurringAppointmentsResets the AllowRecurringAppointments property to its default value.  
Public MethodResetAlternateSelectTypeDayResets the AlternateSelectTypeDay property to its default value.  
Public MethodResetAppearancesClears the Appearances collection  
Public MethodResetAppointmentsClears the Appointments collection.  
Public MethodResetComponentSettingsResets the user configuration settings for this component.  
Public MethodResetCustomTaskColumnsResets CustomTaskColumns to its default value.  
Public MethodResetDataBindingsForAppointmentsResets the DataBindingsForAppointments property to its default value.  
Public MethodResetDataBindingsForNotesResets the DataBindingsForNotes property to its default value.  
Public MethodResetDataBindingsForOwnersResets the DataBindingsForOwners property to its default value.  
Public MethodResetDataBindingsForProjectsRestores the DataBindingsForProjects property to its default value.  
Public MethodResetDataBindingsForTasksRestores the DataBindingsForTasks property to its default value.  
Public MethodResetDateSettingsResets the DateSettings collection.  
Public MethodResetDaysOfMonthResets the properties of the DayOfMonth objects in the DaysOfMonth collection to their default values.  
Public MethodResetDaysOfWeekResets the properties of the DayOfWeek objects in the DaysOfWeek collection to their default values.  
Public MethodResetDaysOfYearResets the properties of the DayOfYear objects in the DaysOfYear collection to their default values.  
Public MethodResetFirstDayOfWeekResets FirstDayOfWeek to its default value.  
Public MethodResetHolidaysClears the Holidays collection  
Public MethodResetLogicalDayDurationResets LogicalDayDuration to its default value.  
Public MethodResetLogicalDayOffsetResets LogicalDayOffset to its default value.  
Public MethodResetMaxAlternateSelectedDaysResets MaxAlternateSelectedDays to its default value.  
Public MethodResetMaxDateResets MaxDate to its default value.  
Public MethodResetMaxSelectedDaysResets MaxSelectedDays to its default value.  
Public MethodResetMinDateResets MinDate to its default value.  
Public MethodResetMonthsOfYearResets the properties of the MonthOfYear objects in the MonthsOfYear collection to their default values.  
Public MethodResetNotesClears the Notes collection.  
Public MethodResetOwnersClears the Owners collection.  
Public MethodResetProjectsRestores the Projects collection to its default state.  
Public MethodResetReminderImageReset the ReminderImage to its default value.  
Public MethodResetSelectTypeActivityResets SelectTypeActivity to its default value.  
Public MethodResetSelectTypeDayResets SelectTypeDay to its default value.  
Public MethodResetTagResets the Tag property to its default value (null).  
Public MethodResetTaskDurationWorkingTimePerDayRestores the value of the TaskDurationWorkingTimePerDay property to its default.  
Public MethodResetTasksRestores the Tasks collection to its default state.  
Public MethodResetTaskWorkingHourModeRestores the value of the TaskWorkingHourMode property to its default.  
Public MethodResetWeekRuleResets WeekRule to its default  
Public MethodResetWeeksOfYearResets the properties of the WeekOfYear objects in the WeeksOfYear collection to their default values.  
Public MethodResetYearsRemoves all the date specific objects.  
Public MethodSaveOverloaded. Saves CalendarInfo data to a stream.  
Public MethodSaveAsXmlOverloaded. Saves CalendarInfo data as soap (xml) to a stream.  
Public MethodSaveComponentSettingsSaves the user configuration settings for this component.  
Public MethodToString (Inherited from System.ComponentModel.Component)
Protected Methods
 NameDescription
Protected MethodFinalize (Inherited from System.ComponentModel.Component)
Protected MethodGetService (Inherited from System.ComponentModel.Component)
Protected MethodMemberwiseCloneOverloaded. Creates a shallow copy of the current System.MarshalByRefObject object. (Inherited from System.MarshalByRefObject)
Protected MethodNotifyDesignEnvironmentOfChange

In design mode notifies the System.ComponentModel.Design.IComponentChangeService that the component has changed so that it can mark the component dirty.

At runtime this method does nothing.

 
Protected MethodOnAfterActiveDayChangedRaises the AfterActiveDayChanged event when the ActiveDay is changed.  
Protected MethodOnAfterAlternateSelectedDateRangeChangeRaises the AfterAlternateSelectedDateRangeChange event after a DateRange is removed from the SelectedDateRanges collection.  
Protected MethodOnAfterAppointmentAddedRaises the AfterAppointmentAdded event after an Appointment is added to the Appointments collection.  
Protected MethodOnAfterAppointmentRemovedRaises the AfterAppointmentRemoved event after an Appointment is removed from the Appointments collection.  
Protected MethodOnAfterCloseAppointmentDialogRaises the AfterCloseAppointmentDialog event after an AppointmentDialog has been closed.  
Protected MethodOnAfterCloseAppointmentRecurrenceDialogRaises the AfterCloseAppointmentRecurrenceDialog event after the RecurrenceDialog has been closed.  
Protected MethodOnAfterCloseReminderDialogRaises the BeforeDisplayReminderDialog event after the ReminderDialog has been closed.  
Protected MethodOnAfterHolidayAddedRaises the AfterHolidayAdded event before a Holiday is added to the Holidays collection.  
Protected MethodOnAfterHolidayRemovedRaises the AfterHolidayRemoved event before a Holiday is removed from the Holidays collection.  
Protected MethodOnAfterInvokeAppointmentActionRaises the AfterInvokeAppointmentAction event after the AppointmentAction for an Appointment has been invoked.  
Protected MethodOnAfterNoteAddedRaises the AfterNoteAdded event after a Note is added to the Notes collection.  
Protected MethodOnAfterNoteRemovedRaises the AfterNoteRemoved event before a Note is removed from the Notes collection.  
Protected MethodOnAfterRecurringAppointmentDeletedRaises the AfterRecurringAppointmentDeleted event.  
Protected MethodOnAfterSelectedAppointmentsChangeRaises the AfterSelectedAppointmentsChange event before a change is applied to the SelectedAppointments.  
Protected MethodOnAfterSelectedDateRangeChangeRaises the AfterSelectedDateRangeChange event after a DateRange is removed from the SelectedDateRanges collection.  
Protected MethodOnAfterSelectedHolidaysChangeRaises the AfterSelectedHolidaysChange event after a change is applied to the SelectedHolidays.  
Protected MethodOnAfterSelectedNotesChangeRaises the AfterSelectedNotesChange event after a change is applied to the SelectedNotes.  
Protected MethodOnBeforeActiveDayChangedRaises the BeforeActiveDayChanged event before the ActiveDay is changed.  
Protected MethodOnBeforeAlternateSelectedDateRangeChangeRaises the BeforeAlternateSelectedDateRangeChange event before a DateRange is removed from the SelectedDateRanges collection.  
Protected MethodOnBeforeAppointmentAddedRaises the BeforeAppointmentAdded event before an Appointment is added to the Appointments collection.  
Protected MethodOnBeforeAppointmentRemovedRaises the BeforeAppointmentRemoved event before an Appointment is removed from the Appointments collection.  
Protected MethodOnBeforeDisplayAppointmentDialogRaises the BeforeDisplayAppointmentDialog event before an AppointmentDialog is displayed.  
Protected MethodOnBeforeDisplayAppointmentRecurrenceDialogRaises the BeforeDisplayAppointmentRecurrenceDialog event before the RecurrenceDialog is displayed.  
Protected MethodOnBeforeDisplayReminderDialogRaises the BeforeDisplayReminderDialog event before a ReminderDialog is displayed for an Appointment.  
Protected MethodOnBeforeHolidayAddedRaises the BeforeHolidayAdded event before a Holiday is added to the Holidays collection.  
Protected MethodOnBeforeHolidayRemovedRaises the BeforeHolidayRemoved event before a Holiday is removed from the Holidays collection.  
Protected MethodOnBeforeInvokeAppointmentActionRaises the BeforeInvokeAppointmentAction event before the AppointmentAction for an Appointment has been invoked.  
Protected MethodOnBeforeNoteAddedRaises the BeforeNoteAdded event before a Note is added to the Notes collection.  
Protected MethodOnBeforeNoteRemovedRaises the BeforeNoteRemoved event before a Note is removed from the Notes collection.  
Protected MethodOnBeforeRecurringAppointmentDeletedRaises the BeforeRecurringAppointmentDeleted event.  
Protected MethodOnBeforeSelectedAppointmentsChangeRaises the BeforeSelectedAppointmentsChange event before a change is applied to the SelectedAppointments.  
Protected MethodOnBeforeSelectedDateRangeChangeRaises the BeforeSelectedDateRangeChange event before a DateRange is removed from the SelectedDateRanges collection.  
Protected MethodOnBeforeSelectedHolidaysChangeRaises the BeforeSelectedHolidaysChange event before a change is applied to the SelectedHolidays.  
Protected MethodOnBeforeSelectedNotesChangeRaises the BeforeSelectedNotesChange event before a change is applied to the SelectedNotes.  
Protected MethodOnCalendarInfoChangedRaises the CalendarInfoChanged event when a property on the UltraCalendarInfo or one of its subobjects changes.  
Protected MethodOnInitializeDayRaises the InitializeDay event when a Day object is created.  
Protected MethodOnInitializeMonthRaises the InitializeMonth event when a Month object is created.  
Protected MethodOnInitializeWeekRaises the InitializeWeek event when a Week object is created.  
Protected MethodOnInitializeYearRaises the InitializeYear event when a Year object is created.  
Protected MethodOnSubObjectPropChangedCalled when a property has changed on a sub object.  
Protected MethodOnValidateAppointmentRaises the ValidateAppointment event before changes made to an Appointment from an AppointmentDialog are committed.  
Protected MethodOnValidateAppointmentRecurrenceRaises the ValidateAppointmentRecurrence event before changes made to an AppointmentRecurrence from an RecurrenceDialog are committed.  
Protected MethodShouldSerializeReturns true if any property on this object contains data that needs to be serialized.  
Protected MethodShouldSerializeAllDayEventEndTimeBoundaryReturns true if the AllDayEventEndTimeBoundary property value requires serialization.  
Protected MethodShouldSerializeAllowAllDayEventsReturns true if AllowAllDayEvents property value needs to be serialized.  
Protected MethodShouldSerializeAlternateSelectTypeDayReturns true if AlternateSelectTypeDay property value needs to be serialized.  
Protected MethodShouldSerializeAppointmentsIndicates if the Appointments collection needs to be serialized.  
Protected MethodShouldSerializeCalendarInfoStreamerIndicates if any of the date specific objects need to be serialized.  
Protected MethodShouldSerializeCustomTaskColumnsIndicates whether the CustomTaskColumns property should be serialized.  
Protected MethodShouldSerializeDataBindingsForAppointmentsIndicates if the DataBindingsForAppointments property needs to be serialized.  
Protected MethodShouldSerializeDataBindingsForNotesIndicates if the DataBindingsForNotes property needs to be serialized.  
Protected MethodShouldSerializeDataBindingsForOwnersIndicates if the DataBindingsForOwners property needs to be serialized.  
Protected MethodShouldSerializeDataBindingsForProjectsIndicates whether the DataBindingsForProjects property requires serialization.  
Protected MethodShouldSerializeDataBindingsForTasksIndicates whether the DataBindingsForTasks property requires serialization.  
Protected MethodShouldSerializeFirstDayOfWeekReturns true if FirstDayOfWeek property contains data that needs to be serialized.  
Protected MethodShouldSerializeHolidaysIndicates if the Holidays property needs to be serialized.  
Protected MethodShouldSerializeLogicalDayDurationReturns true if LogicalDayDuration property value needs to be serialized.  
Protected MethodShouldSerializeLogicalDayOffsetReturns true if LogicalDayOffset property value needs to be serialized.  
Protected MethodShouldSerializeMaxAlternateSelectedDaysReturns true if MaxAlternateSelectedDays property value needs to be serialized.  
Protected MethodShouldSerializeMaxDateReturns true if MaxDate property value needs to be serialized.  
Protected MethodShouldSerializeMaxSelectedDaysReturns true if MaxSelectedDays property value needs to be serialized.  
Protected MethodShouldSerializeMinDateReturns true if MinDate property value needs to be serialized.  
Protected MethodShouldSerializeNotesIndicates if the Notes property needs to be serialized.  
Protected MethodShouldSerializeOwnersIndicates if the Owners collection needs to be serialized.  
Protected MethodShouldSerializeReminderImageIndicates if the ReminderImage needs to be serialized.  
Protected MethodShouldSerializeSelectTypeActivityReturns true if SelectTypeActivity property value needs to be serialized.  
Protected MethodShouldSerializeSelectTypeDayReturns true if SelectTypeDay property value needs to be serialized.  
Protected MethodShouldSerializeTagReturns true if Tagproperty contains a value other than null (Nothing in VB).  
Protected MethodShouldSerializeTaskDurationWorkingTimePerDayReturns a boolean value indicating whether the TaskDurationWorkingTimePerDay property requires serialization.  
Protected MethodShouldSerializeTaskWorkingHourModeReturns a boolean value indicating whether the TaskWorkingHourMode property requires serialization.  
Protected MethodShouldSerializeWeekRuleReturns true if WeekRule property value needs to be serialized.  
See Also