corelibraries-devexpress-dot-xtrascheduler-dot-appointmentmappinginfo-e23c4f36.md
Gets or sets the converter position in the data processing chain between the data source and the object’s property.
Namespace : DevExpress.XtraScheduler
Assembly : DevExpress.XtraScheduler.v25.2.Core.dll
NuGet Package : DevExpress.Scheduler.Core
[Browsable(false)]
public MappingConversionBehavior LabelConversionBehavior { get; set; }
<Browsable(False)>
Public Property LabelConversionBehavior As MappingConversionBehavior
| Type | Description |
|---|---|
| MappingConversionBehavior |
A MappingConversionBehavior enumeration member that specifies the position between the mapping, the data source and the object’s property.
|
Available values:
| Name | Description |
|---|---|
| BetweenFieldAndMapping |
Processes data coming from a data field to the data conversion procedure inherent for default mapping (Convert method) and data coming from default mapping to the data field (ConvertBack method).
| | BetweenMappingAndProperty |
Processes data coming from the procedure inherent for default mapping to the object’s property (Convert method) and data coming from the object’s property to the related mapping (ConvertBack method).
| | InPlaceOfMapping |
Processes data coming from the data field to the object’s property (Convert method) and data coming from the object’s property to the data field (ConvertBack method). Default mapping procedures are bypassed.
|
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the LabelConversionBehavior 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#L68
schedulerStorage1.Appointments.Mappings.LabelConverter = new MappingConverterLabel(schedulerStorage1);
schedulerStorage1.Appointments.Mappings.LabelConversionBehavior = MappingConversionBehavior.InPlaceOfMapping;
schedulerStorage1.Appointments.Mappings.ReminderInfoConverter = new MappingConverterReminderInfo(schedulerStorage1);
winforms-scheduler-mapping-converters/VB/SchedulerMappingConverterExample/Form1.vb#L70
schedulerStorage1.Appointments.Mappings.LabelConverter = New MappingConverterLabel(schedulerStorage1)
schedulerStorage1.Appointments.Mappings.LabelConversionBehavior = MappingConversionBehavior.InPlaceOfMapping
schedulerStorage1.Appointments.Mappings.ReminderInfoConverter = New MappingConverterReminderInfo(schedulerStorage1)
See Also