Hi,
Thanks for your reply. Using the proposed template definition it's working fine. For those who might want to apply it to not only named properties, but based on the type of the property:
Thanks for your reply. Using the proposed template definition it's working fine. For those who might want to apply it to not only named properties, but based on the type of the property:
<tk:PropertyGrid.EditorDefinitions>
<tk:EditorTemplateDefinition >
<tk:EditorTemplateDefinition.TargetProperties>
<tk:TargetPropertyType Type="{x:Type s:Int32}" />
<tk:TargetPropertyType Type="{x:Type s:String}" />
</tk:EditorTemplateDefinition.TargetProperties>
<tk:EditorTemplateDefinition.EditingTemplate>
<DataTemplate>
<tk:PropertyGridEditorTextBox Text="{Binding Value, UpdateSourceTrigger=PropertyChanged}" />
</DataTemplate>
</tk:EditorTemplateDefinition.EditingTemplate>
</tk:EditorTemplateDefinition>
</tk:PropertyGrid.EditorDefinitions>
</tk:PropertyGrid>
Thx again