Goals:
1) Need to put thousands(Currency commas, only commas not with any symbol like $) when displays first time as well as typing .
2) I am taking data for this textbox from Database. it should display .00 at the end. Ex: DB value: 2000 then outcome is 2,000.00
3) I set textbox length is 10. so user able to enter till 7 char, that .00 (total-3 char) cannot change anything until it reach the length of 7. once it reached 7 then it automatically point to .00 char/number that should now able to edit.
R&D:
I am able to display the text with a comma but not with .00 as suffix and this is only happens while 1st time binding(1st time). I set in string format.!
<TextBox Name="TxtInProcessdollar" Text="{Binding INPROCESSDOLLARS, StringFormat='{}{0:#,0}'}" />
Now while tyipng its not happenning. Commas are gone.
I have tried masktextbox, this is helpful when 'Lost focus' events happen. Please suggests me what i can do to reslove this problem.