Hi,
The Binding is on the SelectedObject, so UpdateSourceTrigger will be activated when the SelectedObject changes. But here, its a property from the SelectedObject that is changed. Here's what you could do :
The Binding is on the SelectedObject, so UpdateSourceTrigger will be activated when the SelectedObject changes. But here, its a property from the SelectedObject that is changed. Here's what you could do :
<xctk:PropertyGrid x:Name="_propertyGrid"
SelectedObject="{Binding Blubber}">
<xctk:PropertyGrid.EditorDefinitions>
<xctk:EditorTemplateDefinition TargetProperties="ValidationTest">
<xctk:EditorTemplateDefinition.EditingTemplate>
<DataTemplate>
<!-- one option -->
<!--<TextBox Text="{Binding Value, UpdateSourceTrigger=PropertyChanged}" />-->
<!-- another option -->
<xctk:PropertyGridEditorTextBox Text="{Binding Value, UpdateSourceTrigger=PropertyChanged}" />
</DataTemplate>
</xctk:EditorTemplateDefinition.EditingTemplate>
</xctk:EditorTemplateDefinition>
</xctk:PropertyGrid.EditorDefinitions>
</xctk:PropertyGrid>