Back to Devexpress

SchedulerDataStorage Members

windowsforms-devexpress-dot-xtrascheduler-dot-schedulerdatastorage-dot-underscore-members.md

latest28.0 KB
Original Source

SchedulerDataStorage Members

The component that holds data for the SchedulerControl.

Constructors

NameDescription
SchedulerDataStorage()Initializes a new instance of the SchedulerDataStorage class with the default settings.
SchedulerDataStorage(IContainer)Initializes a new instance of the SchedulerDataStorage class with the specified settings.

Properties

NameDescription
AppointmentDependenciesGets a storage object which manages dependencies between appointments.
AppointmentsGets a storage object that contains appointments.
CacheResources
CanRaiseEvents protectedGets a value indicating whether the component can raise an event. Inherited from Component.
ContainerGets the IContainer that contains the Component. Inherited from Component.
DateTimeSavingModeGets or sets in what time zone to store the appointment dates.
DesignMode protectedGets a value that indicates whether the Component is currently in design mode. Inherited from Component.
EnableRemindersGets or sets whether the Reminder availability for appointments is enabled.
EnableSmartFetchGets or sets whether certain internal criteria for raising the SchedulerDataStorage.FetchAppointments event are applied to reduce the number of data requests.
EnableTimeZonesGets or sets whether the scheduler saves the appointment time zone information.
Events protectedGets the list of event handlers that are attached to this Component. Inherited from Component.
FetchOnVisibleResourcesChangedGets or sets whether to raise the FetchAppointments event when the EnableSmartFetch property is switched on and visible resources are changed.
IsDisposedReturns whether or not this SchedulerDataStorage is disposed.
LabelsGets a storage object that contains appointment labels.
ReminderDstBehaviorTypeGets or sets the reminder’s behavior if the reminder alert falls within the interval that actually doesn’t exist because of the Daylight Saving Time shift.
RemindersCheckIntervalGets or sets the time interval a reminder’s alert time should be checked (in milliseconds).
RemindersEnabledReturns whether or not this SchedulerDataStorage supports reminders.
ResourcesGets the object which manages resources for appointments.
SiteGets or sets the ISite of the Component. Inherited from Component.
StatusesGets a storage object that contains appointment statuses.
SupportsRecurrenceGets whether the scheduler storage can contain information on appointment recurrence.
SupportsRemindersGets whether the appointment reminder data mapping is specified.
TimeZoneIdGets or sets the time zone in which the SchedulerDataStorage operates.

Methods

NameDescription
BeginInit()Notifies the SchedulerDataStorage that the initialization has begun.
CreateAppointment(AppointmentType, DateTime, DateTime, String)Creates an appointment of the specified type with the specified start time, end time and the subject.
CreateAppointment(AppointmentType, DateTime, DateTime)Creates an appointment of the specified type with the specified start and end time.
CreateAppointment(AppointmentType, DateTime, TimeSpan, String)Creates an appointment of the specified type with the specified start time, duration and subject.
CreateAppointment(AppointmentType, DateTime, TimeSpan)Creates an appointment of the specified type with the specified start time and duration.
CreateAppointment(AppointmentType)Creates an appointment of the specified type.
CreateAppointmentDependency(Object, Object, AppointmentDependencyType)Creates a dependency of the specified type between two appointments specified by their IDs.
CreateAppointmentDependency(Object, Object)Creates a dependency between two appointments specified by their Ids.
CreateObjRef(Type)Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. Inherited from MarshalByRefObject.
CreateOutlookExporter()Creates an object which provides the capability to control how data is exported to MS Outlook’s Calendar.
CreateOutlookExportSynchronizer()Creates an object which allows you to control how MS Outlook’s Calendar is synchronized with data in the storage.
CreateOutlookImporter()Creates an object which allows you to control how data is imported from MS Outlook’s Calendar.
CreateOutlookImportSynchronizer()Creates an object which allows you to control how data in the storage is synchronized with data in MS Outlook’s Calendar.
CreateReminder(Appointment)Creates a reminder for the specified appointment.
CreateResource(Object, String)Creates a new resource with the specified ID and a caption.
CreateResource(Object)Creates a new resource with the specified ID.
CreateWithoutTimers() static
Dispose()Releases all resources used by the Component. Inherited from Component.
EndInit()Notifies the SchedulerDataStorage that the initialization is over.
Equals(Object, Object) staticDetermines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object)Determines whether the specified object is equal to the current object. Inherited from Object.
ExportToICalendar(Stream)Exports appointments in the scheduler to a stream in the iCalendar format.
ExportToICalendar(String)Saves all appointments to file in iCalendar format.
ExportToOutlook()Exports the data in the storage to the MS Outlook calendar.
ExportToVCalendar(Stream)Exports the data in the scheduler to a stream in the vCalendar format.
ExportToVCalendar(String)Exports the data in the scheduler to a file in the vCalendar format.
GetAppointments(TimeInterval)Retrieves the collection of appointments that fall within the specified time interval.
GetAppointments(TimeIntervalCollection)Retrieves the collection of appointments that fall within the specified time interval.
GetAppointments(DateTime, DateTime)Retrieves the collection of appointments that fall within the specified time interval.
GetHashCode()Serves as the default hash function. Inherited from Object.
GetLabelColor(Object)Obtains the color of the label by its ID.
GetLifetimeService()Retrieves the current lifetime service object that controls the lifetime policy for this instance. Inherited from MarshalByRefObject.
GetObjectRow(IPersistentObject)Returns the data row object that contains information about the specified persistent object.
GetObjectValue(IPersistentObject, String)Gets the value of the specified field in the data row that supplies data for the persistent object.
GetResourceById(Object)Returns a resource by its ID.
GetService(Type) protectedReturns an object that represents a service provided by the Component or by its Container. Inherited from Component.
GetType()Gets the Type of the current instance. Inherited from Object.
ImportFromICalendar(Stream)Imports appointments from the file in iCalendar format.
ImportFromICalendar(String)Imports appointments from the file in iCalendar format.
ImportFromOutlook()Imports data from MS Outlook’s Calendar to the scheduler’s storage.
ImportFromVCalendar(Stream)Imports the scheduler’s data from a stream whose data is in the vCalendar format.
ImportFromVCalendar(String)Imports data into the scheduler from a file in the vCalendar format.
InitializeLifetimeService()Obtains a lifetime service object to control the lifetime policy for this instance. Inherited from MarshalByRefObject.
MemberwiseClone() protectedCreates a shallow copy of the current Object. Inherited from Object.
MemberwiseClone(Boolean) protectedCreates a shallow copy of the current MarshalByRefObject object. Inherited from MarshalByRefObject.
ReferenceEquals(Object, Object) staticDetermines whether the specified Object instances are the same instance. Inherited from Object.
RefreshData()Updates Scheduler to reflect any changes made in the data sources which store the appointments and appointment resources.
RefreshData(Boolean)
SetAppointmentId(Appointment, Object)Sets the identifier of the specified appointment to a specified value.
SetObjectValue(IPersistentObject, String, Object)Assigns the specified value to a field in the data row that contains information about the specified persistent object.
SynchronizeOutlookWithStorage(String)Updates MS Outlook’s Calendar entries with appointments from the Scheduler storage.
SynchronizeStorageWithOutlook(String)Updates Scheduler appointments with MS Outlook’s Calendar entries.
ToString()Returns a String containing the name of the Component, if any. This method should not be overridden. Inherited from Component.
TriggerAlerts()Invokes reminder alerts for the current time.

Events

NameDescription
AppointmentChangingFires when an appointment is about to change.
AppointmentCollectionAutoReloadingOccurs when the data source which contains appointment records is modified and appointments are set to be automatically reloaded.
AppointmentCollectionClearedFires after the appointment collection has been cleared.
AppointmentCollectionLoadedFires after the appointment collection has been cleared.
AppointmentDeletingAllows you to cancel the deletion of an appointment.
AppointmentDependenciesChangedFires when the properties of the appointment dependency have been changed.
AppointmentDependenciesDeletedFires after deletion of one or several appointment dependencies.
AppointmentDependenciesInsertedFires after one or several appointment dependencies have been added to the collection.
AppointmentDependencyChangingFires when the appointment dependency type is changing.
AppointmentDependencyCollectionAutoReloadingOccurs when the data source which contains appointment dependency records is modified and dependencies are set to be automatically reloaded.
AppointmentDependencyCollectionClearedFires after the appointment dependency collection has been cleared.
AppointmentDependencyCollectionLoadedFires after appointment dependencies have been loaded into the storage.
AppointmentDependencyDeletingAllows you to cancel the deletion of an appointment dependency.
AppointmentDependencyInsertingAllows you to cancel the insertion of an appointment dependency.
AppointmentInsertingAllows you to cancel the insertion of an appointment.
AppointmentsChangedFires when the appointments’ properties have been changed.
AppointmentsDeletedOccurs after one or more appointments have been deleted from the SchedulerDataStorage.
AppointmentsInsertedFires after one or several appointments have been added to the collection.
CreateSourceObjectAllows you to set the source object for a newly created appointment.
DisposedOccurs when the component is disposed by a call to the Dispose() method. Inherited from Component.
FetchAppointmentsOccurs before the SchedulerDataStorage starts retrieving the appointments for the specified time interval.
FilterAppointmentHides specific appointments in the Scheduler control.
FilterDependencyHides certain appointment dependencies in the Gantt view.
FilterReminderAlertEnables you to fire alerts only for specific reminders.
FilterResourceHides specific resources in the Scheduler control.
ItemPropertyChangedRaises when any item (appointment, resource, appointment dependency, label or status) stored within this SchedulerDataStorage changes its property value.
PrepareAppointmentFilterColumnFires when a column, representing an appointment’s field, is added to the collection of filter columns contained within the FilterControl.
PrepareResourceFilterColumnFires when a column, representing a resource’s field, is added to the collection of filter columns contained within the FilterControl.
ReminderAlertOccurs when a reminder alert is invoked.
ResourceChangingFires when a resource’s property is about to be changed.
ResourceCollectionAutoReloadingOccurs when the data source which contains resources is modified and the automatic reloading of resources is enabled.
ResourceCollectionClearedFires after the resource collection has been cleared.
ResourceCollectionLoadedFires after resources have been loaded into the Scheduler storage.
ResourceDeletingAllows the deletion of a resource to be cancelled.
ResourceInsertingAllows you to cancel the addition of a resource.
ResourcesChangedOccurs when a scheduler’s resource in a collection is changed.
ResourcesDeletedOccurs after a scheduler’s resource(s) is deleted.
ResourcesInsertedOccurs when new resources are inserted into the scheduler storage.

See Also

SchedulerDataStorage Class

DevExpress.XtraScheduler Namespace