AppointmentMappingInfo.Type Property

Gets or sets the data field to which an appointment's Appointment.Type property is bound.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v19.2.Core.dll

Declaration

[DefaultValue("")]
public virtual string Type { get; set; }
<DefaultValue("")>
Public Overridable Property Type As String

Property Value

Type Default Description
String

String.Empty

A String value that specifies the name of the bound data field.

Remarks

Use the Type property to bind an appointment's Appointment.StatusIdproperty to a data field in the external data source. The data source is specified by the PersistentObjectStorage<T>.DataSource property of the AppointmentStorage.

When you map the Appointment.Type property to the data field, use the field of the int type. The AppointmentType members are enumerated as follows:

  • Normal = 0,
  • Pattern = 1,
  • Occurrence = 2,
  • ChangedOccurrence = 3,
  • DeletedOccurrence = 4
NOTE

This mapping is mandatory if a scheduler is bound to an external data source.

See Also