property Grid.BackColorSortBarCaption as Color
Returns or sets a value that indicates the caption's background color in the control's sort bar.

TypeDescription
Color A color expression that indicates the caption's background color in the control's sort bar.
Use the SortBarCaption property to specify the caption of the sort bar, when the control's sort bar contains no columns. Use the BackColorSortBar property to specify the background color of the control's sort bar. Use the ForeColorSortBar property to specify the foreground color of the caption in the control's sort bar.

The following VB sample changes the appearance for the control's sort bar. The sample uses the "" skin.

With Grid1
    .SortBarVisible = True
    With .VisualAppearance
        .Add &H60, App.Path + "\sortbar.ebn"
    End With
    .ForeColorSortBar = 0
    .BackColorSortBar = &H60000000
    .BackColorSortBarCaption = .BackColorSortBar
End With

The following C++ sample changes the appearance for the control's sort bar:

#include "Appearance.h"
m_grid.GetVisualAppearance().Add( 0x60, COleVariant(_T("D:\\Temp\\ExGrid.Help\\sortbar.ebn")) );
m_grid.SetSortBarVisible( TRUE );
m_grid.SetBackColorSortBar( 0x60000000 );
m_grid.SetBackColorSortBarCaption( m_grid.GetBackColorSortBar() );

The following VB.NET sample changes the appearance for the control's sort bar:

With AxGrid1
    .SortBarVisible = True
    With .VisualAppearance
        .Add(&H60, "D:\Temp\ExGrid.Help\sortbar.ebn")
    End With
    .Template = "BackColorSortBar = 1610612736"
    .Template = "BackColorSortBarCaption = 1610612736"
    .ForeColorSortBar = Color.Black
End With

The following C# sample changes the appearance for the control's sort bar:

axGrid1.VisualAppearance.Add(0x60, "D:\\Temp\\ExGrid.Help\\sortbar.ebn");
axGrid1.SortBarVisible = true;
axGrid1.Template = "BackColorSortBar = 1610612736";
axGrid1.Template = "BackColorSortBarCaption = 1610612736";
axGrid1.ForeColorSortBar = Color.Black;

The following VFP sample changes the appearance for the control's sort bar

With thisform.Grid1
    With .VisualAppearance
        .Add(96, "D:\Temp\ExGrid.Help\sortbar.ebn")
    EndWith
    .SortBarVisible =.t.
    .BackColorSortBar = 1610612736
    .BackColorSortBarCaption = .BackColorSortBar
    .ForeColorSortBar = 0
EndWith