[This is preliminary documentation and is subject to change.]

Author: Đonny

Common base for type-safe implementations of IValueConverter

Namespace: Tools.WindowsT.WPF.ConvertersT
Assembly: Tools.Windows (in Tools.Windows.dll) Version: 1.5.3.38916 (1.5.3.38916)

Syntax

C#
public abstract class StronglyTypedConverter<TSource, TTarget> : IValueConverter
Visual Basic
Public MustInherit Class StronglyTypedConverter(Of TSource, TTarget) _
	Implements IValueConverter
Visual C++
generic<typename TSource, typename TTarget>
public ref class StronglyTypedConverter abstract : IValueConverter
F#
[<AbstractClassAttribute>]
type StronglyTypedConverter<'TSource, 'TTarget> =  
    class
        interface IValueConverter
    end
JScript
JScript does not support generic types or methods.

Type Parameters

TSource
Type values are converted from
TTarget
Type values are converted to

Inheritance Hierarchy

See Also

Collapse/expand Version History

1.5.2

  • (Nightly) VersionAttribute and AuthorAttribute removed
  • Convert(Object, Type, Object, CultureInfo) and ConvertBack(Object, Type, Object, CultureInfo) now accepts nullNothingnullptra null reference (Nothing in Visual Basic) when TSource or TTarget respectivelly is not value type or is Nullable<(Of <(<'T>)>)>