I want to have a custom numeric editor.
My task is quite simple: User must have an ability to enter 1K in edit mode and value should be 1000.
ValueType is Int32 and how do I enable edit mode to accept letter K?
Hi,
Is there a way to get some feedback on that issue?
Thanks in advance
Appreciate your patience. Hope you had a happy Thanksgiving.
You can use a custom converter the ValueToTextConverter
There is a description of the custom converters at the following link
http://help.infragistics.com/NetAdvantage/WPF/2010.3/CLR4.0/?page=xamEditors_Overview_of_the_ValueEditor_Class.html
and this is the ValueToDisplayTextConverter property documentation which includes an example of using the IValueConter class
Let me know if you have any questions.