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) Version: 1.0.74.0
Syntax
[ValueConversionAttribute(typeof(Object[]), typeof(Object))]
[ContentPropertyAttribute("Converters")]
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.

[NotNull, ItemNotNull]

Public propertyMultiValueConverter
Gets or sets the multi value converter.

[CanBeNull]

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.

[CanBeNull]

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.

[CanBeNull]

(Defined by ObjectExtensions.)
Public Extension MethodTraceError
Traces an error for the specified converter.
(Defined by ValueConverterExtensions.)
Top
See Also