Microsoft SDK for Java

Column.setBackColor

Sets the background color for the cells in the column.

Syntax

public void setBackColor( Color color )

Parameters

color

A Color object that represents the background color of the column.

Remarks

Call setBackColor to override the default background color set by the parent DataGrid control. To later return to this default, pass null to setBackColor.

To set the background color for cells that are selected, call setSelectedBackColor.

See Also   getBackColor, shouldPersistBackColor

© 1999 Microsoft Corporation. All rights reserved. Terms of use.