Defines a single mapping between the MappedValueConverter converter input and output value.

Namespace:  C1.WPF.C1Schedule
Assembly:  C1.WPF.C1Schedule (in C1.WPF.C1Schedule.dll)

Syntax

C#
public class ValueMapItem
Visual Basic (Declaration)
Public Class ValueMapItem

Remarks

Objects of the ValueMapItem class are used as items of the Items collection. If an input value processed by the MappedValueConverter converter satisfies a criteria for an input value defined in the ValueMapItem, then the item provides an output value of the conversion.

A criteria for an input value checking is defined as a single value (the Value property) or as a range of values by means of the RangeStart and RangeEnd properties. In the latter case, one of the ends of the range can be an open one, which means that value checking is not performed against a corresponding lower or upper boundary.

If the input value satisfies the criteria specified in the item then the ConvertedValue property value is used as a result of the conversion.

Inheritance Hierarchy

System..::..Object
  C1.WPF.C1Schedule..::..ValueMapItem

See Also