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

TcxButtonColors.DefaultText Property

Specifies the foreground color representing the normal state of a button when its Default property is set to True.

#Declaration

Delphi
property DefaultText: TColor index Ord(cxbcDefaultText) read; write;

#Property Value

Type
TColor

#Remarks

If this property value is not assigned, the button’s text is painted based on the NormalText or the button’s LookAndFeel and UseSystemPaint property settings.

The default property value (clDefault) specifies that the button’s foreground color is provided by the button’s LookAndFeel and UseSystemPaint property settings. If this property value is other than default, the cxbcDefaultText flag is activated in AssignedColors. Deactivating this flag sets the property to its default value.

You can also specify foreground colors for the following cxButton states: Disabled, Hot, Normal and Pressed.

See Also