Back to Devexpress

AppointmentMappingInfo.Label Property

corelibraries-devexpress-dot-xtrascheduler-dot-appointmentmappinginfo-12a98924.md

latest6.6 KB
Original Source

AppointmentMappingInfo.Label Property

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

Namespace : DevExpress.XtraScheduler

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

NuGet Package : DevExpress.Scheduler.Core

Declaration

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

winforms-scheduler-gantt-view/CS/dxT183299/Form1.cs#L83

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

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

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

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

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

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

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

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

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

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

vb
mappings.Description = "Description"
mappings.Label = "Label"
mappings.Location = "Location"

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

vb
mappings.Description = "Description"
mappings.Label = "Label"
mappings.Location = "Location"

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

vb
mappings.Description = "Description"
mappings.Label = "Label"
mappings.Location = "Location"

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

vb
mappings.Description = "Description"
mappings.Label = "Label"
mappings.Location = "Location"

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

vb
aptmappings.Description = "Description"
aptmappings.Label = "Label"
aptmappings.Location = "Location"

See Also

Appointment Mappings

AppointmentLabel

LabelKey

Labels

Appointment Labels and Statuses

Data Sources

AppointmentMappingInfo Class

AppointmentMappingInfo Members

DevExpress.XtraScheduler Namespace