Hi,
I want to apply the style of xamnumeric editor in one of the column in xamdatagrid.
I can apply the style xamnumericeditor in cellvalue presenter and i can apply that style to the column.
but i dont want user to edit the content in xamnumericeditor..user has to edit the content using spinup or spindown(Up & Down)
Which property need to enable to achieve this??
and also i want to apply the valueconstraint to xamnumeric editor ...if i am applying style for xamnumericeditor,,how to achieve this also..
Please help me..
Could you please anyone can look into the issue?
Thanks..
Chandra
Hello Chandra,
I have been looking into your question and I was wondering whether you have tried to use the ‘IsReadOnly’ property of the XamNumericEditor :
http://help.infragistics.com/NetAdvantage/WPF/2012.2/CLR4.0/?page=InfragisticsWPF4.Editors.v12.2~Infragistics.Windows.Editors.ValueEditor~IsReadOnly.html
Using it you will be able to change the value of the editor using its ‘Value’ property via code.
Let me know, if you need any further assistance on this matter.
I have been looking into your post. I can suggest to take a look at the following forum threads, where you can find more information about how to set value constraints for the xamNumericEditor: http://ko.infragistics.com/community/forums/t/44883.aspx, http://ko.infragistics.com/community/forums/p/26407/98573.aspx, http://help.infragistics.com/Help/NetAdvantage/WPF/2011.2/CLR4.0/html/InfragisticsWPF4.Editors.v11.2~Infragistics.Windows.Editors.ValueEditor.html. The last link is a link from our documentation, where you can find the desired information too.
Please do not hesitate to let me know if you have any further questions on the matter.
I am just checking your progress on the issue. Please do not hesitate to let me know if you have any further questions on the matter.
Hi Gregana,
Thanks for your help..
As per your suggestions, I modified sample and attached the same for your reference.
I am looking for the Nuemeric up/Down ...functionality
I have attached image for your reference, when i keep cursor in editor, it shows underline...How can i avoid that..
And I dont want to display decimal values..
How to achieve the both functionalities?
Can you help me?
Adding image
I have been looking into your issue and have modified the sample you have attached. In the modified sample I removed the Style for the CellValuePresenter and included the ValueConstraint settings in the Style for the xamNumericEditor. Making this changes the numbers that are displayed do not have the underscores in front of them.
Please refer to the attached sample application and feel free to let me know if you have any further questions on the matter.
Thank you for the feedback. Please do not hesitate to contact us if you have any questions.
Thank you..it worked..
Currently...i dont have any problems..if anything is there..then i will get back to you..