Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

Formatting Values

  • 2 minutes to read

Most DevExpress .NET WinForms controls let you format values before they are displayed onscreen. For instance, you can format a numeric value as a currency, display a date/time value in one of the standard forms depending upon the culture (6/17/2005; Friday, June 17, 2006), etc. DevExpress controls use a standard formatting mechanism to format values as described in Microsoft documentation. The current document shows how to invoke this formatting mechanism for DevExpress controls.

#Concepts

#Controls

Specific controls also provide events that allow you to dynamically format displayed text.

#Editors

For editors, it is possible to use masks to enable formatted input; the masks can also be used to format values even when no editing is active.

#Task-Based Help

#Cheat Sheets and Best Practices

DevExpress WinForms UI controls share the same value formatting and masking techniques. Read the following quick-reference guides for detailed information and examples: