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" />
regards, igor
Comments
Post a Comment