Back to Devexpress

AppointmentDataStorage Members

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

latest12.5 KB
Original Source

AppointmentDataStorage Members

A storage that holds a collection of appointments.

Constructors

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

Properties

NameDescription
AutoReloadGets or sets whether persistent object data is automatically fetched from the data source when it is modified.
CommitIdToDataSource
CountReturns the number of appointments stored in this AppointmentDataStorage.
CustomFieldMappingsProvides access to the collection of objects, representing mappings of the appointments’ custom properties to appropriate data fields.
DataMemberGets or sets the data source member which supplies data to the storage object.
DataSourceGets or sets the object used as the data source to store appointments for this AppointmentDataStorage.
FilterGets or set an expression used as a criteria to filter appointments in the storage.
FilterCriteriaGets or sets the criteria to filter appointments in the storage.
IsDisposedReturns whether or not this AppointmentDataStorage is disposed.
Item[Int32]Provides indexed access to individual items in the appointment collection which can be accessed using the AppointmentStorageBase.Items property.
ItemsGets the collection of appointments within the storage.
LabelsProvides access to labels associated with this appointment storage.
MappingsGets an object that specifies how appointment properties map to the data source fields.
ResourceSharingGets or sets a value indicating whether an appointment could be shared between multiple resources.
StatusesProvides access to statuses associated with this appointment storage.
StorageReturns the SchedulerDataStorage that owns this AppointmentDataStorage.
SupportsRecurrenceGets whether the data mapping for appointment recurrence information is specified.
SupportsRemindersGets whether the appointment reminder data mapping is specified.

Methods

NameDescription
Add(Appointment)Appends the specified Appointment object to the collection which can be accessed via the storage’s AppointmentDataStorage.Items property.
Add(AppointmentType, DateTime, DateTime, String)Adds a new appointment with specific properties to this AppointmentDataStorage.
Add(AppointmentType, DateTime, DateTime)Adds a new appointment with specific properties to this AppointmentDataStorage.
Add(AppointmentType, DateTime, TimeSpan, String)Adds a new appointment with specific properties to this AppointmentDataStorage.
Add(AppointmentType, DateTime, TimeSpan)Adds a new appointment with specific properties to this AppointmentDataStorage.
AddRange(Appointment[])Appends an array of appointments to the storage’s collection.
AddRange(IEnumerable<Appointment>)Adds an collection of appointments to the storage’s collection.
Clear()Removes all appointments from this AppointmentDataStorage.
Contains(Appointment)Determines whether or not the storage contains the specified appointment.
CreateAppointment(AppointmentType, DateTime, DateTime, String)Creates an appointment of the specified type with the specified start time, end time and a 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 a 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.
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.
GetAppointmentById(Object)Gets the appointment by its identifier.
GetColumnNames()Returns names of data fields that belong to this AppointmentDataStorage‘s data source.
GetHashCode()Serves as the default hash function. Inherited from Object.
GetObjectRow(Appointment)Returns the data source record (row) associated with the specific appointment.
GetType()Gets the Type of the current instance. Inherited from Object.
IsNewAppointment(Appointment)
LoadFromXml(Stream)Loads settings of appointments from the specified stream to the appointment storage.
LoadFromXml(String)Loads settings of appointments from the specified XML file to the appointment storage.
MemberwiseClone() protectedCreates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) staticDetermines whether the specified Object instances are the same instance. Inherited from Object.
ReloadData()Forces the storage to reload data from the DataSource.
Remove(Appointment)Removes the specified Appointment object from the collection.
SaveToXml(Stream)Saves appointments from the storage to the specified stream.
SaveToXml(String)Saves appointments from the storage to an XML file.
ToString()Returns a string that represents the current object. Inherited from Object.

See Also

AppointmentDataStorage Class

DevExpress.XtraScheduler Namespace