Skip to main content

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.