Gets or sets the number of rows to repeat before alternating the background color.
object.BackColorRepeat = [integer]
Newlook Smartclient
Newlook Server
This property is useful when you need to visually differentiate multi-line records in a grid control.
If set to a value greater than one then the colors specified in the DataBackColor and DataAltBackColor properties will be applied to that number of rows before alternating. The default setting for this property is 1.
This setting will not be evident if DataBackColor and DataAltBackColor are set to the same color.
The BackColorRepeat property will only be applied in the grid if the UseHostColors property is False. Similarly, for individual columns of the datagrid, the BackColorRepeat property will only be applied if the UseColors property is set to True.
DataBackColor property | DataAltBackColor property | UseHostColors property | UseColors property
© 2004-2021 looksoftware. All rights reserved.