2.2.6.17.72 GridControl::SetAlternateRowColors


Description

Sets the background color for alternate rows.

Syntax

void SetAlternateRowColors( uint nAlternateColor = -1 )

Parameters

nAlternateColor
[input] RGB color. Sets to 0 to disable

Return

Examples

Example codes can be pasted to doExample() function in GridControl's examples to run

m_GridCtrl.SetAlternateRowColors(COLOR_GREEN);//SetAlternateRowColors() and ShowAlternateGroups() are mutex

Remark

See Also

GridControl::SetRowColor
GridControl::ShowAlternateGroups

Header to Included

GridControl.h