'Declaration
Public Overloads Shared Function Create( _ ByVal converterFunction As Func(Of Object,Type,Object,CultureInfo,Object) _ ) As IValueConverter
'Usage
Dim converterFunction As Func(Of Object,Type,Object,CultureInfo,Object) Dim value As IValueConverter value = CustomConverter.Create(converterFunction)
public static IValueConverter Create( Func<object,Type,object,CultureInfo,object> converterFunction )
public: static IValueConverter^ Create( Func<Object^,Type^,Object^,CultureInfo^,Object^>^ converterFunction )
Parameters
- converterFunction
- The converter function. (value, type, parameter, culture)
Return Value
The converted value