Thanks for your reply.
My task is simple. I want to Create a custom designer and use a combobox which is binded to an InArgument<T>
Creating a converter is simple for normal WPF application but for WF designer there is a problem.
Converting an object of type T to Argument<T> is simple but the conversion back is problematic as we do not have the context object.
public class DateConverter : IValueConverter
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
convert the value to InArgument<targetType>
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
How can I convery InArgument<T> to another object
when to get value out of an Argument we need a NativeActivityContext
By the way I tried to look at the convetors supplied by microsoft and I could not see the code in Reflector or ILDASM.exe .... Interesting...