Skip to main content

TdxNavBarGroupViewInfo.BgBackColor2 Method

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

Declaration

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