Back to Devexpress

ASPxAppointmentMappingInfo.Start Property

aspnet-devexpress-dot-web-dot-aspxscheduler-dot-aspxappointmentmappinginfo-9e21d28f.md

latest7.0 KB
Original Source

ASPxAppointmentMappingInfo.Start Property

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

Property Value

TypeDefaultDescription
StringString.Empty

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

|

Remarks

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

This mapping and the ASPxAppointmentMappingInfo.End mapping are mandatory for the appointment to display properly.

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

csharp
appointmentStorage.Mappings.AppointmentId = "ID";
appointmentStorage.Mappings.Start = "StartTime";
appointmentStorage.Mappings.End = "EndTime";

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

csharp
appointmentStorage.Mappings.AppointmentId = "UniqueID";
appointmentStorage.Mappings.Start = "StartDate";
appointmentStorage.Mappings.End = "EndDate";

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

csharp
appointmentStorage.Mappings.AppointmentId = "UniqueID";
appointmentStorage.Mappings.Start = "StartDate";
appointmentStorage.Mappings.End = "EndDate";

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

csharp
appointmentStorage.Mappings.AppointmentId = "ID";
appointmentStorage.Mappings.Start = "StartTime";
appointmentStorage.Mappings.End = "EndTime";

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

csharp
appointmentStorage.Mappings.AppointmentId = "ID";
appointmentStorage.Mappings.Start = "StartTime";
appointmentStorage.Mappings.End = "EndTime";

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

vb
appointmentStorage.Mappings.AppointmentId = "UniqueID"
appointmentStorage.Mappings.Start = "StartDate"
appointmentStorage.Mappings.End = "EndDate"

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

vb
appointmentStorage.Mappings.AppointmentId = "UniqueID"
appointmentStorage.Mappings.Start = "StartDate"
appointmentStorage.Mappings.End = "EndDate"

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

vb
appointmentStorage.Mappings.AppointmentId = "ID"
appointmentStorage.Mappings.Start = "StartTime"
appointmentStorage.Mappings.End = "EndTime"

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

vb
appointmentStorage.Mappings.AppointmentId = "ID"
appointmentStorage.Mappings.Start = "StartTime"
appointmentStorage.Mappings.End = "EndTime"

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

vb
appointmentStorage.Mappings.AppointmentId = "ID"
appointmentStorage.Mappings.Start = "StartTime"
appointmentStorage.Mappings.End = "EndTime"

See Also

ASPxAppointmentMappingInfo Class

ASPxAppointmentMappingInfo Members

DevExpress.Web.ASPxScheduler Namespace