This project has moved. For the latest updates, please go here.

Connecting IValueConverter through C# code, not XAML

Jun 1, 2016 at 10:22 AM
Edited Jun 1, 2016 at 10:23 AM
I am using the PropertyGrid component. Is there any way to set a converter for a property directly in C# by defining an attribute or something similar?

I know how to do it in XAML, but I am building the properties dynamically and to me it would make sense to define which converters to use in the same place where I build the list of properties.
Jun 10, 2016 at 6:54 PM

Can you post a snipet of how you do it in XAML so we can make sure we are talking about the same thing.