TTMSFNCDataGridBandingOptions Class
Controls alternating row-band colouring. When enabled, rows are grouped into normal and band groups, each spanning one or more rows, and rendered using the
CellAppearance.BandLayout.
API unit family: TMSFNCDataGridRenderer
Inherits from: TPersistent
Syntax
TTMSFNCDataGridBandingOptions = class(TPersistent)
class PASCALIMPLEMENTATION TTMSFNCDataGridBandingOptions : public System::Classes::TPersistent
Remarks
Reached through the grid's Options.Banding. The pattern repeats every NormalRowCount + BandRowCount rows. Group header and summary rows, and rows highlighted by a filter that applies appearance, keep their own layouts instead of the band layout. Changing a property repaints the grid.
Related API
Properties
| Name | Description |
|---|---|
| BandRowCount | Number of consecutive rows that are rendered with CellAppearance.BandLayout before reverting to normal. Default is 1. |
| Enabled | Enables alternating band colouring. Default is False. |
| NormalRowCount | Number of consecutive rows that are rendered with the normal layout between each band group. Default is 1. |
Methods
| Name | Description |
|---|---|
| Changed | Notifies the owner that the banding settings changed. |