Skip to main content

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.v23.2.Core.dll

NuGet Package: DevExpress.Scheduler.Core

Declaration

[DefaultValue("")]
public virtual string Type { get; set; }

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.

The following code snippets (auto-collected from DevExpress Examples) contain references to the Type property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also