RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TColumn.DefaultColor Method

Returns the default background color for the column.

Pascal
function DefaultColor: TColor;
C++
__fastcall TColor DefaultColor();

Use Default color to determine the color of the column when the Color property is not explicitly set. DefaultColor returns the Color of the data grid to which the column belongs. If the column has no associated data grid, DefaultColor returns clWindow. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!