Skip to main content

dxSpreadSheetIsColorDefault(TColor) Method

Returns a value indicating whether the specified color value corresponds to the default color.

Declaration

function dxSpreadSheetIsColorDefault(AColor: TColor): Boolean;

Parameters

Name Type
AColor TColor

Returns

Type
Boolean

Remarks

This function returns True if the color specified as the AColor parameter, is either not equal to a valid TColor value or equal to clDefault. If the AColor parameter specifies any valid color, the dxSpreadSheetIsColorDefault function returns False.

The dxSpreadSheetIsColorDefault function is used to identify which color should be used to paint visual elements of the Table View, such as grid lines.

See Also