Hi,
I'm working with NetAdvange for WPF and I have the following code:
<ig:XamNumericInput Name="Quantity" Grid.Row="1" Grid.Column="1" Height="28" PromptChar=" " SpinButtonDisplayMode="Never" ValueTypeName="double" Value="{Binding Path=Quantity, ValidatesOnDataErrors=True, UpdateSourceTrigger=PropertyChanged}"> <ig:XamNumericInput.ValueConstraint> <ig:ValueConstraint MaxInclusive="{Binding MaxQuantity}" MinInclusive="0" /> <ig:XamNumericInput.ValueConstraint><ig:XamNumericInput>
and the Property:
public double MaxQuantity{ get { return lMaxQuantity; }}
The Binding for MaxInclusive constraint is not working. I don't know if this is an issue of the control or is not allowed to use binding here.
I reviewed this topic http://es.infragistics.com/community/forums/p/73987/374112.aspx and nothing seems to be different....
Can you help me please? Is there anything wrong?
Best Regards,
Claudio Herrera
Hi George,
Thank you for your help and sorry for my late reply. As the workaround you gave me works, I will close this topic. Unfortunatelly, couldn't have the same, but I will keep trying with your example.
Best Regards, and thank you!!!
Hi Claudio,
Any idea why that's not working?
What is the difference in the usage?
Is there anything I can help with?
Thanks,
George
your example works, but not in my project. I'm using MVVM with Caliburn and can't get the same.
Thanks for your help.
Could you try with the attached sample?
I've tried your code and didn't work. The Binding is called but something is missing when do the validation, I mean, you can entered a big number in there.