Back to Devexpress

MappingConversionBehavior Enum

maui-devexpress-dot-maui-dot-scheduler-5ac3e06b.md

latest3.7 KB
Original Source

MappingConversionBehavior Enum

Lists values that specify on which conversion stage the mapping uses Converter.

Namespace : DevExpress.Maui.Scheduler

Assembly : DevExpress.Maui.Scheduler.dll

NuGet Package : DevExpress.Maui.Scheduler

Declaration

csharp
public enum MappingConversionBehavior

Members

NameDescription
BetweenFieldAndMapping

The Converter acts before the internal mapping converter when the mapping transforms the source object property’s value to the scheduler item property’s value, and after the internal mapping converter when the mapping transforms the scheduler item property’s value to the source object property’s value.

| | BetweenMappingAndProperty |

The Converter acts after the internal mapping converter when the mapping transforms the source object property’s value to the scheduler item property’s value, and before the internal mapping converter when the mapping transforms the scheduler item property’s value to the source object property’s value.

| | InPlaceOfMapping |

The mapping replaces its internal converter with the Converter.

|

The following properties accept/return MappingConversionBehavior values:

Remarks

The Mapping.ConversionBehavior property uses these enum values.

The following images illustrates how the mapping converts source object’s property values to scheduler item property values when it uses different behaviors:

|

Value

|

Description

| | --- | --- | |

Scheme

| | --- | |

BetweenFieldAndMapping

|

The Converter acts before the internal mapping converter when the mapping transforms the source object property’s value to the scheduler item property’s value, and after the internal mapping converter when the mapping transforms the scheduler item property’s value to the source object property’s value.

| |

| |

BetweenMappingAndProperty

|

The Converter acts after the internal mapping converter when the mapping transforms the source object property’s value to the scheduler item property’s value, and before the internal mapping converter when the mapping transforms the scheduler item property’s value to the source object property’s value.

| |

| |

InPlaceOfMapping

|

The mapping replaces its internal converter with the Converter.

| |

|

Extension Methods

Yield<MappingConversionBehavior>()

YieldIfNotNull<MappingConversionBehavior>()

See Also

DevExpress.Maui.Scheduler Namespace