Skip to main content

Appointment.Location Property

Gets or sets the text that specifies where the appointment is going to be.

Namespace: DevExpress.XtraScheduler

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

#Declaration

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

#Property Value

Type Default Description
String

String.Empty

A String value that specifies the appointment's location.

#Remarks

The Location property is associated with the location attribute of the appointment. The location text is one of the main markers (together with the values of the Appointment.Start, Appointment.End and Appointment.Subject properties) which are typically displayed by an appointment to identify the appointment within different views of the SchedulerControl.

If a SchedulerControl is used in bound mode (that is its data is stored in a database) the Location property's value may be taken from the data field specified by the AppointmentMapping.Location property (this property can be accessed via the AppointmentStorage.Mappings property of the AppointmentStorage object).

See Also