GridControl::SetAlternateRowColors

 

Contents

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