Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

dxSpreadSheetIsColorDefault(TColor) Method

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

#Declaration

Delphi
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