property ExplorerBar.BackColorGroup as Color
Retrieves or sets a value that indicates the default group's background color.

TypeDescription
Color A color expression that indicates the group's background color. The last 7 bits in the high significant byte of the color to indicates the identifier of the skin being used. Use the Add method to add new skins to the control. If you need to remove the skin appearance from a part of the control you need to reset the last 7 bits in the high significant byte of the color being applied to the background's part.

Use the BackColorGroup property to specify the background color for all groups. Use the BackColorGroup2 property to specify the second background color when drawing the caption of group like a gradient. The BackColorGroup property changes only the background color for the captions. Use the BackColor, BackColorList property to change the background color for a specific group.

For instance, the following VB sample changes the visual appearance for group headers. The BackColorGroup property indicates the indicates the default group's background color. Shortly, we need to add a skin to the Appearance object using the Add method, and we need to set the last 7 bits in the BackColorGroup property to indicates the index of the skin that we want to use. The sample applies the "" to the headers and the control looks like follows:

With ExplorerBar1
    .VisualAppearance.Add 1, "D:\Temp\ExplorerBar.Help\tabup2.ebn"
    .BackColorGroup = &H1000000
End With

The following C++ sample changes the visual appearance for group headers:

#include "Appearance.h"
m_explorerbar.GetVisualAppearance().Add( 1, COleVariant( "D:\\Temp\\ExplorerBar.Help\\tabup2.ebn" ) );
m_explorerbar.SetBackColorGroup( 0x1000000 );

The following VB.NET sample changes the visual appearance for group headers:

With AxExplorerBar1
    .VisualAppearance.Add(1, "D:\Temp\ExplorerBar.Help\tabup2.ebn")
    .Template = "BackColorGroup = 16777216"
End With

The following C# sample changes the visual appearance for group headers:

axExplorerBar1.VisualAppearance.Add(1, "D:\\Temp\\ExplorerBar.Help\\tabup2.ebn");
axExplorerBar1.Template = "BackColorGroup = 16777216";

The following VFP sample changes the visual appearance for group headers:

With thisform.ExplorerBar1
    .VisualAppearance.Add(1, "D:\Temp\ExplorerBar.Help\tabup2.ebn")
    .BackColorGroup = 16777216
EndWith

where the 16777216 value represents 0x1000000 in hexadecimal.