Back to Devexpress

ASPxAppointmentMappingInfo.Location Property

aspnet-devexpress-dot-web-dot-aspxscheduler-dot-aspxappointmentmappinginfo-72e486cb.md

latest6.9 KB
Original Source

ASPxAppointmentMappingInfo.Location Property

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

Namespace : DevExpress.Web.ASPxScheduler

Assembly : DevExpress.Web.ASPxScheduler.v25.2.dll

NuGet Package : DevExpress.Web.Scheduler

Declaration

csharp
[DefaultValue("")]
public override string Location { get; set; }
vb
<DefaultValue("")>
Public Overrides 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.

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.

asp-net-mvc-scheduler-custom-go-to-date-dialog/CS/Scheduler.CustomizationGotoDateForm/Models/SchedulingDataClasses.cs#L158

csharp
appointmentStorage.Mappings.Description = "Description";
appointmentStorage.Mappings.Location = "Location";
appointmentStorage.Mappings.AllDay = "AllDay";

asp-net-mvc-scheduler-crud-operations/CS/MVCSchedulerEditable/Models/SchedulerStorageProvider.cs#L27

csharp
appointmentStorage.Mappings.Description = "Description";
appointmentStorage.Mappings.Location = "Location";
appointmentStorage.Mappings.AllDay = "AllDay";

asp-net-mvc-scheduler-fetch-appointment-event/CS/DevExpressMvcSchedulerFetchAppointments/Models/SchedulerDataHelper.cs#L72

csharp
appointmentStorage.Mappings.Description = "Description";
appointmentStorage.Mappings.Location = "Location";
appointmentStorage.Mappings.AllDay = "AllDay";

asp-net-mvc-scheduler-custom-appointment-form/CS/Models/Scheduling.cs#L79

csharp
appointmentStorage.Mappings.Description = "Description";
appointmentStorage.Mappings.Location = "Location";
appointmentStorage.Mappings.AllDay = "AllDay";

how-to-customize-the-appointment-dialog-using-view-model-api-working-with-custom-fields-t582020/CS/DevExpressMvcApplication1/Models/SchedulerDataHelper.cs#L72

csharp
appointmentStorage.Mappings.Label = "Label";
appointmentStorage.Mappings.Location = "Location";
appointmentStorage.Mappings.RecurrenceInfo = "RecurrenceInfo";

asp-net-mvc-scheduler-crud-operations/VB/MVCSchedulerEditable/Models/SchedulerStorageProvider.vb#L24

vb
appointmentStorage.Mappings.Description = "Description"
appointmentStorage.Mappings.Location = "Location"
appointmentStorage.Mappings.AllDay = "AllDay"

asp-net-mvc-scheduler-fetch-appointment-event/VB/DevExpressMvcSchedulerFetchAppointments/Models/SchedulerDataHelper.vb#L66

vb
appointmentStorage.Mappings.Description = "Description"
appointmentStorage.Mappings.Location = "Location"
appointmentStorage.Mappings.AllDay = "AllDay"

asp-net-mvc-scheduler-custom-appointment-form/VB/Models/Scheduling.vb#L82

vb
appointmentStorage.Mappings.Description = "Description"
appointmentStorage.Mappings.Location = "Location"
appointmentStorage.Mappings.AllDay = "AllDay"

how-to-customize-the-appointment-dialog-using-view-model-api-working-with-custom-fields-t582020/VB/DevExpressMvcApplication1/Models/SchedulerDataHelper.vb#L76

vb
appointmentStorage.Mappings.Label = "Label"
appointmentStorage.Mappings.Location = "Location"
appointmentStorage.Mappings.RecurrenceInfo = "RecurrenceInfo"

asp-net-mvc-scheduler-use-checkboxlist-to-filter-resources/VB/Code/SchedulerHelper.vb#L60

vb
appointmentStorage.Mappings.Description = "Description"
appointmentStorage.Mappings.Location = "Location"
appointmentStorage.Mappings.AllDay = "AllDay"

See Also

ASPxAppointmentMappingInfo Class

ASPxAppointmentMappingInfo Members

DevExpress.Web.ASPxScheduler Namespace