This definition used to work. The backing data object would throw an exception and I could catch it with the ValidationErrorTemplate. Now VS2010 breaks on the exception in the business class and then it goes to our unhandled exception handler. It's been a while since I actually checked this, so it may not have anything at all to do with you. We are using 10.2.532.
Thanks.
Thanks.
<actPropGrid:PropertyEditorsModifier x:Key="{x:Static actPropGrid:BuiltinEditors.PropertyEditorsModifierKey}">
<actPropGrid:PropertyEditorsModifierActionAdd>
<actPropGrid:TextBoxPropertyEditor>
<actPropGrid:TextBoxPropertyEditor.ValueStyles>
<actPropGrid:PropertyEditorStyle Key="{x:Type TextBox}">
<actPropGrid:PropertyEditorStyle.Style>
<Style TargetType="{x:Type TextBox}">
<Setter Property="Validation.ErrorTemplate"
Value="{DynamicResource {x:Static gr:ControlTemplates.RichToolTipValidationKey}}" />
</Style>
</actPropGrid:PropertyEditorStyle.Style>
</actPropGrid:PropertyEditorStyle>
</actPropGrid:TextBoxPropertyEditor.ValueStyles>
</actPropGrid:TextBoxPropertyEditor>
</actPropGrid:PropertyEditorsModifierActionAdd>