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

[NotNull, ItemNotNull]

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.

[CanBeNull]

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