property Tree.FilterBarBackColor as Color
Specifies the background color of the control's filter bar.

TypeDescription
Color A color expression that defines the background color for description of the control's filter. 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 FilterBarForeColor and FilterBarBackColor properties to define the colors used to paint the description for control's filter. Use the FilterBarHeight property to hide the control's filter bar header. Use the BackColor property to specify the control's background color. Use the BackColorLevelHeader property to specify the background color of the header when it displays multiple levels. Use the BackColorSortBar property to specify the background color of the control's sort bar.

The following VB sample changes the visual appearance for control's filter bar. The sample applies the skin "" to the "close" button in the control's filter bar, and the "" skin to the filter bar caption area:

With Tree1
    With .VisualAppearance
        .Add &H2, App.Path + "\fbarclose.ebn"
        .Add &H12, App.Path + "\filterbar.ebn"
    End With
    .Background(exFooterFilterBarButton) = &H2000000
    .FilterBarBackColor = &H12000000
    .FilterBarForeColor = RGB(255, 255, 255)
End With

The following C++ sample changes the visual appearance for the "close" button in the control's filter bar:

#include "Appearance.h"
m_tree.GetVisualAppearance().Add( 0x2, COleVariant(_T("D:\\Temp\\ExTree.Help\\fbarclose.ebn")) );
m_tree.GetVisualAppearance().Add( 0x12, COleVariant(_T("D:\\Temp\\ExTree.Help\\filterbar.ebn")) );
m_tree.SetBackground( 1 /*exFooterFilterBarButton*/, 0x2000000 );
m_tree.SetFilterBarBackColor( 0x12000000 );
m_tree.SetFilterBarForeColor( RGB(255,255,255) );

The following VB.NET sample changes the visual appearance for the "close" button in the control's filter bar:

With AxTree1
    With .VisualAppearance
        .Add(&H2, "D:\Temp\ExTree.Help\fbarclose.ebn")
        .Add(&H12, "D:\Temp\ExTree.Help\filterbar.ebn")
    End With
    .Template = "FilterBarBackColor = 301989888"
    .FilterBarForeColor = Color.White
    .set_Background(EXTREELib.BackgroundPartEnum.exFooterFilterBarButton, &H2000000)
End With

The following C# sample changes the visual appearance for the "close" button in the control's filter bar:

axTree1.VisualAppearance.Add(0x2, "D:\\Temp\\ExTree.Help\\fbarclose.ebn");
axTree1.VisualAppearance.Add(0x12, "D:\\Temp\\ExTree.Help\\filterbar.ebn");
axTree1.set_Background(EXTREELib.BackgroundPartEnum.exFooterFilterBarButton, 0x2000000);
axTree1.Template = "FilterBarBackColor = 301989888";
axTree1.FilterBarForeColor = Color.White;

The following VFP sample changes the visual appearance for the "close" button in the control's filter bar:

With thisform.Tree1
    With .VisualAppearance
        .Add(2, "D:\Temp\ExTree.Help\fbarclose.ebn")
        .Add(18, "D:\Temp\ExTree.Help\filterbar.ebn")
    EndWith
    .Object.Background(1) = 33554432
    .FilterBarBackColor = 301989888
    .FilterBarForeColor = RGB(255,255,255)
EndWith

The 301989888 value is the 0x12000000 value in hexadecimal.