Hi,
I have a customFactory to show properties in propertyGrid. It it the same like in example. Also I would like to update property from viewModel. With default key (BuiltinEditors.DynamicStringValueTemplateKey) the property is updated in viewModel, but not in propertyGrid. So I've created customKey:
<DataTemplate x:Key="{x:Static viewModels:CustomFactory.NormalInOperationTemplateKey}">
<TextBox Text="{Binding RelativeSource={RelativeSource Mode=FindAncestor, AncestorType={x:Type UserControl}}, Path=DataContext.Normal}" />
</DataTemplate>
Now everything is updated in the viewModel and in the propertyGrid.
Is it a good way to resolve this issue? Is there a better way of solving it?