Back to Devexpress

AppointmentMappingInfo.LabelConverter Property

corelibraries-devexpress-dot-xtrascheduler-dot-appointmentmappinginfo-366a3b00.md

latest3.3 KB
Original Source

AppointmentMappingInfo.LabelConverter Property

Gets or sets a value converter for the Appointment.LabelKey property.

Namespace : DevExpress.XtraScheduler

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

NuGet Package : DevExpress.Scheduler.Core

Declaration

csharp
[Browsable(false)]
public ISchedulerMappingConverter LabelConverter { get; set; }
vb
<Browsable(False)>
Public Property LabelConverter As ISchedulerMappingConverter

Property Value

TypeDescription
ISchedulerMappingConverter

An object that implements the ISchedulerMappingConverter interface to translate the data between the property and the data source field.

|

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the LabelConverter 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-mapping-converters/CS/SchedulerMappingConverterExample/Form1.cs#L67

csharp
#region #MappingConverters
schedulerStorage1.Appointments.Mappings.LabelConverter = new MappingConverterLabel(schedulerStorage1);
schedulerStorage1.Appointments.Mappings.LabelConversionBehavior = MappingConversionBehavior.InPlaceOfMapping;

winforms-scheduler-mapping-converters/VB/SchedulerMappingConverterExample/Form1.vb#L69

vb
' #Region "#MappingConverters"
            schedulerStorage1.Appointments.Mappings.LabelConverter = New MappingConverterLabel(schedulerStorage1)
            schedulerStorage1.Appointments.Mappings.LabelConversionBehavior = MappingConversionBehavior.InPlaceOfMapping

See Also

Appointment

Appointment Labels and Statuses

AppointmentMappingInfo Class

AppointmentMappingInfo Members

DevExpress.XtraScheduler Namespace