Back to Devexpress

AppointmentMappingInfo.EndConversionBehavior Property

corelibraries-devexpress-dot-xtrascheduler-dot-appointmentmappinginfo-6d4f3902.md

latest3.8 KB
Original Source

AppointmentMappingInfo.EndConversionBehavior Property

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

Declaration

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

Property Value

TypeDescription
MappingConversionBehavior

A MappingConversionBehavior enumeration member that specifies the position between the mapping, the data source and the object’s property.

|

Available values:

NameDescription
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 EndConversionBehavior 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#L74

csharp
schedulerStorage1.Appointments.Mappings.EndConverter = new MappingConverterEnd();
schedulerStorage1.Appointments.Mappings.EndConversionBehavior = MappingConversionBehavior.InPlaceOfMapping;
#endregion #MappingConverters

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

vb
schedulerStorage1.Appointments.Mappings.EndConverter = New MappingConverterEnd()
            schedulerStorage1.Appointments.Mappings.EndConversionBehavior = MappingConversionBehavior.InPlaceOfMapping
' #End Region ' #MappingConverters

See Also

AppointmentMappingInfo Class

AppointmentMappingInfo Members

DevExpress.XtraScheduler Namespace