corelibraries-devexpress-dot-xtrascheduler-dot-appointment-08a6d1d3.md
Gets or sets the text that specifies a place where the appointment is scheduled.
Namespace : DevExpress.XtraScheduler
Assembly : DevExpress.XtraScheduler.v25.2.Core.dll
NuGet Package : DevExpress.Scheduler.Core
string Location { get; set; }
Property Location As String
| Type | Description |
|---|---|
| String |
A String value that specifies the appointment’s location.
|
The Location property associates with the location attribute of the appointment. The location text is one of the main attributes (together with the values of the Appointment.Start, Appointment.End and Appointment.Subject properties) which are displayed within 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 is obtained from the data field specified by the AppointmentMappingInfo.Location property.
The following code snippets (auto-collected from DevExpress Examples) contain references to the Location 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.
winforms-scheduler-display-custom-tooltips/CS/Form1.cs#L97
apt.Subject = "Test";
apt.Location = "Office";
apt.Description = "Test procedure";
winforms-scheduler-hit-testing/CS/HitTest/Form1.cs#L28
apt.End = apt.Start.AddHours(3);
apt.Location = "Globus BookStore";
apt.Description = "The Sassanid Empire";
newAppointment.LabelKey = sourceAppointment.LabelKey;
newAppointment.Location = sourceAppointment.Location;
newAppointment.ResourceId = ASPxScheduler1.SelectedResource.Id; ;
winforms-scheduler-display-custom-tooltips/VB/Form1.vb#L81
apt.Subject = "Test"
apt.Location = "Office"
apt.Description = "Test procedure"
winforms-scheduler-hit-testing/VB/HitTest/Form1.vb#L26
apt.End = apt.Start.AddHours(3)
apt.Location = "Globus BookStore"
apt.Description = "The Sassanid Empire"
newAppointment.LabelKey = sourceAppointment.LabelKey
newAppointment.Location = sourceAppointment.Location
newAppointment.ResourceId = ASPxScheduler1.SelectedResource.Id
See Also