디자인 타임에 사용자 지정 IValueConverter
을 해제하려면 어떻게합니까? 기본적으로 나는 이것을 쓰고 싶은 :디자인 타임에 사용자 지정 IValueConverter를 해제하려면 어떻게합니까?
Public Class MethodBinder
Implements IValueConverter
Public Function Convert(ByVal value As Object, ByVal targetType As System.Type, ByVal parameter As Object, ByVal culture As CultureInfo) As Object Implements IValueConverter.Convert
If [DESIGN_TIME] Then Return Nothing
If value IsNot Nothing Then Return CallByName(value, CStr(parameter), CallType.Method)
Return Nothing
End Function
Public Function ConvertBack(ByVal value As Object, ByVal targetType As System.Type, ByVal parameter As Object, ByVal culture As CultureInfo) As Object Implements IValueConverter.ConvertBack
Throw New NotSupportedException
End Function
End Class