Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
160
XamNumericEditor "Value '' could not be converted" tooltip
posted

Hi,

I am using a XamNumericEditor with masking property. Everything working fine except when I clear the XamNumericEditor it goes red and give a 

 "Value '' could not be converted" tooltip message. can I get rid of this message or atleast change it to a custom message.

Here's my code

<igEditors:XamNumericEditor x:Name="ValueFrequency2"
Width="170"
Style="{StaticResource XamNumericEditorStyle}"
Height="23"
Text="{Binding Frequency, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged,TargetNullValue=''}"
Mask="{}{double:-4.5}" AlwaysValidate="True"
InvalidValueBehavior="Default" PromptChar=" "
>
<igEditors:XamNumericEditor.ValueConstraint>
<igEditors:ValueConstraint ValidateAsType="Double"
MinInclusive="1" Nullable="False"
MaxInclusive="9999" />
</igEditors:XamNumericEditor.ValueConstraint>
</igEditors:XamNumericEditor>

I have binded it with a non-nullable double property.

Please help.

Thanks in advance

nk

XamNumericEditor_Ex.zip
Parents Reply Children