Back to Devexpress

AppointmentMappingInfo.Location Property

corelibraries-devexpress-dot-xtrascheduler-dot-appointmentmappinginfo-2fb94f05.md

latest6.2 KB
Original Source

AppointmentMappingInfo.Location Property

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

Namespace : DevExpress.XtraScheduler

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

NuGet Package : DevExpress.Scheduler.Core

Declaration

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

Property Value

TypeDefaultDescription
StringString.Empty

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

|

Remarks

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

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-gantt-view/CS/dxT183299/Form1.cs#L84

csharp
mappings.Label = "Label";
mappings.Location = "Location";
mappings.RecurrenceInfo = "RecurrenceInfo";

winforms-scheduler-handle-fetchappointments-event/CS/Form1.cs#L58

csharp
mappings.Label = "Label";
mappings.Location = "Location";
mappings.RecurrenceInfo = "RecurrenceInfo";

how-to-initialize-appointment-images-and-display-text-using-the-custom-field-values-t328320/CS/CustomAppointmentImageAndText/Form1.cs#L83

csharp
mappings.Label = "Label";
mappings.Location = "Location";
mappings.RecurrenceInfo = "RecurrenceInfo";

winforms-scheduler-replace-default-command/CS/WindowsFormsApplication1/Form1.cs#L65

csharp
mappings.Label = "Label";
mappings.Location = "Location";
mappings.RecurrenceInfo = "RecurrenceInfo";

winforms-scheduler-sync-outlook-calendars/CS/SyncWithOutlook/Form1.cs#L55

csharp
aptmappings.Label = "Label";
aptmappings.Location = "Location";
aptmappings.RecurrenceInfo = "RecurrenceInfo";

winforms-scheduler-gantt-view/VB/dxT183299/Form1.vb#L80

vb
mappings.Label = "Label"
mappings.Location = "Location"
mappings.RecurrenceInfo = "RecurrenceInfo"

winforms-scheduler-handle-fetchappointments-event/VB/Form1.vb#L61

vb
mappings.Label = "Label"
mappings.Location = "Location"
mappings.RecurrenceInfo = "RecurrenceInfo"

how-to-initialize-appointment-images-and-display-text-using-the-custom-field-values-t328320/VB/CustomAppointmentImageAndText/Form1.vb#L78

vb
mappings.Label = "Label"
mappings.Location = "Location"
mappings.RecurrenceInfo = "RecurrenceInfo"

winforms-scheduler-replace-default-command/VB/WindowsFormsApplication1/Form1.vb#L65

vb
mappings.Label = "Label"
mappings.Location = "Location"
mappings.RecurrenceInfo = "RecurrenceInfo"

winforms-scheduler-sync-outlook-calendars/VB/SyncWithOutlook/Form1.vb#L56

vb
aptmappings.Label = "Label"
aptmappings.Location = "Location"
aptmappings.RecurrenceInfo = "RecurrenceInfo"

See Also

Appointment Mappings

AppointmentMappingInfo Class

AppointmentMappingInfo Members

DevExpress.XtraScheduler Namespace