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

PHPMotion implementation - URL based videos (Hosted on separate location) -

javascript - Using Windows Media Player as video fallback for video tag -

c# - Unity IoC Lifetime per HttpRequest for UserStore -