Click or drag to resize

CompositeConverter Class

A converter composed of a chain of converters. The converters are invoked in the oder specified.
Inheritance Hierarchy
SystemObject
  TomsToolbox.Wpf.ConvertersCompositeConverter

Namespace:  TomsToolbox.Wpf.Converters
Assembly:  TomsToolbox.Wpf (in TomsToolbox.Wpf.dll) Version: 1.0.64.0 (1.0.64.0)
Syntax
[ValueConversionAttribute(typeof(Object), typeof(Object))]
[ContentPropertyAttribute("Converters")]
public class CompositeConverter : IValueConverter

The CompositeConverter type exposes the following members.

Constructors
  NameDescription
Public methodCompositeConverter
Initializes a new instance of the CompositeConverter class
Top
Properties
  NameDescription
Public propertyConverters
Gets the chain of converters.
Top
Methods
  NameDescription
Public methodConvert
Converts a value.
Public methodConvertBack
Converts a value.
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
Contracts
Invariants
_converters != null
Learn more about contracts
See Also