Skip to main content

Mapping.ConversionBehavior Property

Gets or sets on which conversion stage the mapping uses Converter.

Namespace: DevExpress.XamarinForms.Scheduler

Assembly: DevExpress.XamarinForms.Scheduler.dll

NuGet Package: DevExpress.XamarinForms.Scheduler

Declaration

public MappingConversionBehavior ConversionBehavior { get; set; }

Property Value

Type Description
MappingConversionBehavior

The value that specifies on which conversion stage the mapping uses Converter.

Available values:

Name Description
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.

Remarks

This property supports the following values:

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.

BetweenFieldAndMapping behavior scheme

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.

BetweenFieldAndMapping behavior scheme

InPlaceOfMapping

The mapping replaces its internal converter with the Converter.

BetweenFieldAndMapping behavior scheme

See Also