[Expand]General Information
[Expand]WinForms Controls
[Collapse]ASP.NET Controls and MVC Extensions
 [Expand]What's Installed
 [Expand]Common Concepts
 [Collapse]ASP.NET WebForms Controls
   Getting Started
  [Expand]Grid View
  [Expand]Tree List
  [Expand]Card View
  [Expand]Chart Control
  [Expand]Pivot Grid
   [Expand]Product Information
    Getting Started
   [Collapse]Visual Elements
    [Collapse]Built-in Dialogs
      Format Cells Dialog
      File Dialogs
      Sheet Dialogs
      Column Width Dialogs
      Row Height Dialog
      Find Dialog
      Link Dialogs
      Insert Image Dialog
     [Expand]Chart Dialogs
     [Expand]PivotTables Dialogs
     Formula Bar
     Tab Control
     Context Menu
     Dialog Form
  [Expand]Rich Text Editor
  [Expand]Site Navigation and Layout
  [Expand]HTML Editor
  [Expand]Vertical Grid
  [Expand]Data Editors
  [Expand]Docking and Popups
  [Expand]File Management
  [Expand]Data and Image Navigation
  [Expand]Multi-Use Site Controls
  [Expand]Spell Checker
  [Expand]Query Builder
 [Expand]ASP.NET MVC Extensions
 [Expand]Redistribution and Deployment
  Get More Help
 [Expand]API Reference
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Office File API
[Expand]Report and Dashboard Server
[Expand]eXpressApp Framework
[Expand]eXpress Persistent Objects
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation
View this topic on docs.devexpress.com (Learn more)

Format Cells Dialog

The Format Cells dialog allows end-users to define how to format values displayed in worksheet cells. Using the dialog, end-users can apply a number format to display cell numbers as monetary values, percentage values, date values, etc. By default, all worksheet cells in the Spreadsheet are formatted with the General number format.

When a format or its options change in the dialog, an example of the formatted output is automatically displayed in the Sample box.

Support for custom formatting allows end-users to select one of the formats defined in the opened document. Currently, it is not possible to input custom formats in the dialog manually. However, cells can be formatted using API (using the Formatting.NumberFormat property).

End-users can invoke the Format Cells dialog in the following way.

  • By right-clicking a cell (or the selected cell range) and selecting the Format Cells... item from the context menu.

  • By clicking the dialog box launcher located in the bottom-right corner of the Number group in the Home tab of the ribbon UI.

  • By clicking the Format Cells... item of the Format dropdown button displayed in the Cells group of the ribbon's Home tab.

Is this topic helpful?​​​​​​​