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: 2.21.0+44d18b541fc9419ec3c549350a832394661b2a4d
XMLNS for XAML: Not mapped to an xmlns.
Syntax
[ContentPropertyAttribute("Converters")]
[ValueConversionAttribute(typeof(Object), typeof(Object))]
public class CompositeConverter : IValueConverter

The CompositeConverter type exposes the following members.

Constructors
 NameDescription
Public methodCompositeConverterInitializes 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
See Also