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

TdxNavBarGroupViewInfo.BgBackColor2 Method

Returns the ending background color of the group’s client area.

#Declaration

Delphi
function BgBackColor2: TColor; virtual;

#Returns

Type
TColor

#Remarks

Use the BgBackColor2 function to obtain the ending background color used by the group’s client background. This value is specified by the style applied to the group. Group background style can be specified for all groups via the OptionsStyle.DefaultStyles.GroupBackground default style. Individual groups can override these settings by assigning a custom style to the CustomStyles.Background property of the group. The BgBackColor2 function returns the BackColor2 property value of the style assigned.

The BgBackColor2 function can be used when handling the OnCustomDraw.GroupClientBackground event. It is useful if you don’t want to use custom background colors.

See Also