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

Member Table: Formatting

Member

Description

A row’s RowProperties.DisplayFormat property

This property gives access to FormatType and FormatString settings used to format values in display mode. You can:

  • use standard or custom format strings;
  • use the composite formatting feature that allows you to add custom text to the output string;
  • apply a custom formatter that will handle format operations.

For more information on these usage scenarios, read the following help topic: Formatting Values.

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.