Hello,
I'm using the XamNumericEditor and using the mask field to validate the input:
<igWPF:XamNumericEditor Text="{Binding Path=Text,Mode= TwoWay}" IsEnabled="{Binding IsNew, FallbackValue=False}" Mask="{}{number:1-4}" ValueType="{x:Type sys:Int32}" PromptChar=""/>
Due to localization issues I have to modify the error message that appears when the input isn't valid (for example when 0 is entered). How can I do this?
Hi,
You can easily customize the error message using the method described here:
This line of code will change the error message, if you type for example 0:
Infragistics.Windows.Editors.Resources.Customizer.SetCustomizedString("LMSG_ValueConstraint_MinInclusive", "[Your Text Here.]");
Do not hesitate to ask, if you have other questions.
Regards,
Anastas