Posted 16 years ago
by Mike Benson

I put a type converter attribute on a property in my class and it is not be created / called.
If I go into the sample project and comment out this codein file [your path here]\Actipro Software\WPFStudio\v4.5.0484\SampleBrowser\ProductSamples\PropertyGridSamples\QuickStart\CustomTypeConverters\MainControl.xaml
lines 55-58 I can reproduce the behaviour. Basically, I have a plugin framework and users dont have a way to modify my xaml so I need the TypeConverter attribute to work without having to modify my xaml and tell it that the TypeConverter is there.
If I go into the sample project and comment out this code
<propgrid:PropertyGrid.PropertyEditors>
<propgrid:PropertyEditor ValueTemplateKey="{x:Static propgrid:BuiltinEditors.DynamicStringValueTemplateKey}" />
</propgrid:PropertyGrid.PropertyEditors>
lines 55-58 I can reproduce the behaviour. Basically, I have a plugin framework and users dont have a way to modify my xaml so I need the TypeConverter attribute to work without having to modify my xaml and tell it that the TypeConverter is there.