I set InvalidValueBehavior in a Setter into a Style but doesn't work, I can not understand why.I did so:
<Style TargetType="{x:Type igEditors:XamComboEditor}"> <Setter Property="IsEditable" Value="True"/> <Setter Property="InvalidValueBehavior" Value="RevertValue"/></Style>
Where did you put that style? WPF only supports 1 Local style and if you have set the Theme property then you are already implicitly putting a local style into the Resources of the xamComboEditor.
Sorry, I have already resolved. The problem was that my XamComboEditor is in a XamDataGrid and I resolved by setting InvalidValueBehavior property in the tag Field of XamDataGrid.
Thanks anyway :-)