Defines a value mapping for the MappedValueConverter converter.
Namespace:
C1.WPF.C1ScheduleAssembly: C1.WPF.C1Schedule (in C1.WPF.C1Schedule.dll)
Syntax
C# |
---|
[ContentPropertyAttribute("Items")] public class ValueMap |
Visual Basic (Declaration) |
---|
<ContentPropertyAttribute("Items")> _ Public Class ValueMap |
Remarks
ValueMap defines a collection of value mappings between input and
output values of a conversion.
A single mapping is represented by a ValueMapItem object which is an item of the Items collection. A search of a matching ValueMapItem is performed starting from the beginning of the Items collection, and the first item that matches an input value is used to determine an output value.
If no item matches the conversion input value then a value of the FallbackValue property is used as an output value.