We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Does the CurrencyTextBox control support displaying negative values?

Platform: WinForms |
Control: CurrencyTextBox


Yes, the CurrencyTextBox can display negative values. The format of the negative value depends on the property CurrencyNegativePattern.

This property can have one of the values in the following table. The symbol"$" CurrencySymbol, the symbol "-" is the NegativeSign,and n is a number.

ValueAssociated Pattern0($n)1-$n2$-n3$n-4(n$)5-n$6n-$7n$-8-n $9-$ n10n $-11$ n-12$ -n13n- $14($ n)15(n $) These values are the same as the values for NumberFormatInfo.CurrencyNegativePattern in the .NET Framework. The CurrencyTextBox will only recognize values in the form of -n (Negative sign followed by number) for setting a negative value through the Text property or by pasting from the clipboard.

2X faster development

The ultimate WinForms UI toolkit to boost your development speed.
You must log in to leave a comment

Please sign in to access our KB

This page will automatically be redirected to the sign-in page in 10 seconds.

Up arrow icon

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile