Back to Devexpress

ASPxAppointmentMappingInfo.Label Property

aspnet-devexpress-dot-web-dot-aspxscheduler-dot-aspxappointmentmappinginfo-1a78b1cc.md

latest6.8 KB
Original Source

ASPxAppointmentMappingInfo.Label Property

Gets or sets the data field to which an appointment’s Appointment.LabelKey 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 Label { get; set; }
vb
<DefaultValue("")>
Public Overrides Property Label As String

Property Value

TypeDefaultDescription
StringString.Empty

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

|

Remarks

Use the Label property to bind an appointment’s Appointment.LabelKey property to a data field.

The following code snippets (auto-collected from DevExpress Examples) contain references to the Label 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#L163

csharp
appointmentStorage.Mappings.ReminderInfo = "ReminderInfo";
appointmentStorage.Mappings.Label = "Label";
appointmentStorage.Mappings.Status = "Status";

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

csharp
appointmentStorage.Mappings.ReminderInfo = "ReminderInfo";
appointmentStorage.Mappings.Label = "Label";
appointmentStorage.Mappings.Status = "Status";

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

csharp
appointmentStorage.Mappings.ReminderInfo = "ReminderInfo";
appointmentStorage.Mappings.Label = "Label";
appointmentStorage.Mappings.Status = "Status";

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

csharp
appointmentStorage.Mappings.ReminderInfo = "ReminderInfo";
appointmentStorage.Mappings.Label = "Label";
appointmentStorage.Mappings.Status = "Status";

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

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

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

vb
appointmentStorage.Mappings.ReminderInfo = "ReminderInfo"
appointmentStorage.Mappings.Label = "Label"
appointmentStorage.Mappings.Status = "Status"

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

vb
appointmentStorage.Mappings.ReminderInfo = "ReminderInfo"
appointmentStorage.Mappings.Label = "Label"
appointmentStorage.Mappings.Status = "Status"

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

vb
appointmentStorage.Mappings.ReminderInfo = "ReminderInfo"
appointmentStorage.Mappings.Label = "Label"
appointmentStorage.Mappings.Status = "Status"

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

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

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

vb
appointmentStorage.Mappings.ReminderInfo = "ReminderInfo"
appointmentStorage.Mappings.Label = "Label"
appointmentStorage.Mappings.Status = "Status"

See Also

ASPxAppointmentMappingInfo Class

ASPxAppointmentMappingInfo Members

DevExpress.Web.ASPxScheduler Namespace