Click or drag to resize

CompositeMultiValueConverter Class

A IMultiValueConverter that chains one IMultiValueConverter with a list of IValueConverter. The MultiValueConverter is invoked first, and the result is converted by the Converters in the specified order.
Inheritance Hierarchy
SystemObject
  TomsToolbox.Wpf.ConvertersCompositeMultiValueConverter

Namespace:  TomsToolbox.Wpf.Converters
Assembly:  TomsToolbox.Wpf (in TomsToolbox.Wpf.dll)
Syntax
[ContentPropertyAttribute("Converters")]
[ValueConversionAttribute(typeof(Object[]), typeof(Object))]
public class CompositeMultiValueConverter : IMultiValueConverter

The CompositeMultiValueConverter type exposes the following members.

Constructors
  NameDescription
Public methodCompositeMultiValueConverter
Initializes a new instance of the CompositeMultiValueConverter class
Top
Properties
  NameDescription
Public propertyConverters
Gets the list of converters.
Public propertyMultiValueConverter
Gets or sets the multi value converter.
Top
Methods
  NameDescription
Public methodConvert
Converts source values to a value for the binding target. The data binding engine calls this method when it propagates the values from source bindings to the binding target.
Public methodConvertBack
Converts a binding target value to the source binding values.
Top
Extension Methods
  NameDescription
Public Extension MethodSafeCastT
Performs a cast from object to T, avoiding possible null violations if T is a value type.
(Defined by ObjectExtensions.)
Public Extension MethodTraceError
Traces an error for the specified converter.
(Defined by ValueConverterExtensions.)
Top
See Also