[Expand]General Information
[Collapse]WinForms Controls
  .NET Core Support
 [Expand]What's Installed
 [Expand]Build an Application
 [Collapse]Controls and Libraries
  [Expand]Forms and User Controls
  [Expand]Messages, Notifications, and Dialogs
  [Expand]Editors and Simple Controls
  [Expand]Ribbon, Bars and Menu
  [Expand]Application UI Manager
  [Expand]Docking Library
  [Expand]Data Grid
  [Collapse]Vertical Grid
   [Expand]Binding to Data
   [Expand]Data Layout: Records, Rows and Cells
   [Expand]Data Editing and Validation
    Formatting Values
   [Expand]Drag and Drop
   [Expand]Appearance and Custom Painting
   [Expand]Visual Elements
   [Expand]Design-Time Features
   [Expand]End-User Capabilities
    Hit Information
    Batch Modifications
   [Collapse]Member Tables
     Member Table: Formatting
  [Expand]Property Grid
  [Expand]Pivot Grid
  [Expand]Tree List
  [Expand]Gantt Control
  [Expand]Chart Control
  [Expand]Map Control
  [Expand]Rich Text Editor
  [Expand]Spell Checker
  [Expand]Form Layout Managers
  [Expand]Navigation Controls
  [Expand]PDF Viewer
  [Expand]TreeMap Control
  [Expand]Sunburst Control
 [Expand]Common Features
  Get More Help
 [Expand]API Reference
[Expand]ASP.NET Controls and MVC Extensions
[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)

Member Table: Formatting



A row's RowProperties.Format property

This property allows you to specify the settings used to automatically format values in display mode. You can:

  • use the standard or custom format strings (the most used approach to format date/time and numeric values);
  • use the composite formatting feature that allows you to add custom text to the output string;
  • apply a custom formatter that will handle the format operations.

For more information on these scenarios, see the Formatting Values topic.

The VGridControlBase.CustomDrawRowValueCell event

This event lets you provide different formatting for different rows.

An in-place editor's RepositoryItem.DisplayFormat property.

It's possible to assign an in-place editor to a cell and then use the editor's RepositoryItem.DisplayFormat property to specify the formatting settings that will be used in display mode. This approach is similar to using the GridColumn.DisplayFormat property. However, it's possible to supply different editors for different rows and therefore this allows you to provide different formatting for different cells.

See the Formatting Values topic for information on adjusting the DisplayFormat property.

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