c# - WPF TextBox format mask -


i'am searching solution define format mask textbox. know masked textbox toolkit not looking for. need currency format mask. masked textbox toolkit has limitation characters input. don't want this.

i want have currency format 1.000.000,00€ no character limitations.

i know stringformat (with combination of local settings):

{..., stringformat={}{0:c}} 

but problem textbox not bindable - no mvvm pattern.

so know how define format mask on textbox not bindable?

----------> update

for best solution use of decimalupdown spinner wpf extended tooklit. if hide , down buttons...

<wpfx:decimalupdown formatstring="c2" margin="45,343,305,27" allowspin="false"  /> 

enter image description here

regards, igor


Comments

Popular posts from this blog

c# - Unity IoC Lifetime per HttpRequest for UserStore -

Change the color of an oval at click in Java AWT -

I am trying to solve the error message 'incompatible ranks 0 and 1 in assignment' in a fortran 95 program. -