Skip to main content

TdxNavBarGroupViewInfo.BgBackColor Method

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

Declaration

function BgBackColor: TColor; virtual;

Returns

Type
TColor

Remarks

Use the BgBackColor function to obtain the starting 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 BgBackColor function returns the BackColor property value of the style assigned.

The BgBackColor 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