Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
395
Removing UltraCurrencyEditor padding characters
posted

How do I remove the padding characters from the UltraCurrencyEditor so the '$' is displayed next to the value in edit mode? Currently when the user clicks the control the '$' is put on the left leaving a large space between it and the value.

  • 12480
    Suggested Answer
    Offline posted

    Hi Alkali,

    UltraCurrencyEditor is designed to display a fixed amount of digits. By default, it leaves space for seven-digit values, with two decimal places. You can edit the MaskInput property in order to change this. For example, a mask like "$n,nnn.nn" would be appropriate for values in the thousands.

    Please refer to the MaskInput documentation for more information on which characters are allowed in a mask:
    http://help.infragistics.com/doc/WinForms/2014.2/CLR4.0/?page=Infragistics4.Win.UltraWinEditors.v14.2~Infragistics.Win.UltraWinEditors.UltraNumericEditorBase~MaskInput.html

    If you would like UltraCurrencyEditor to support a dynamically resizing mask, please consider submitting a product idea.