Type | Description | |||
Color | A color expression that indicates the background color for the control's header. |
Use the BackColorHeader and ForeColorHeader properties to customize the control's header. Use the BackColor property to specify the control's background color.
The following VB sample changes the visual appearance for the control's header. 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 BackColorHeader property to indicates the index of the skin that we want to use. The sample applies the "" to the control' header bar:
With Pivot1 With .VisualAppearance .Add &H24, App.Path + "\header.ebn" End With .BackColorHeader = &H24000000 End With
The following C++ sample changes the visual aspect of the control' header bar:
#include "Appearance.h" m_pivot.GetVisualAppearance().Add( 0x24, COleVariant(_T("D:\\Temp\\ExPivot.Help\\header.ebn")) ); m_pivot.SetBackColorHeader( 0x24000000 );
The following VB.NET sample changes the visual aspect of the control' header bar:
With AxPivot1 With .VisualAppearance .Add(&H24, "D:\Temp\ExPivot.Help\header.ebn") End With .Template = "BackColorHeader = 603979776" End With
The 603979776 value indicates the &H24000000 in hexadecimal.
The following C# sample changes the visual aspect of the control' header bar:
axPivot1.VisualAppearance.Add(0x24, "D:\\Temp\\ExPivot.Help\\header.ebn"); axPivot1.Template = "BackColorHeader = 603979776";
The 603979776 value indicates the 0x24000000 in hexadecimal.
The following VFP sample changes the visual aspect of the control' header bar:
With thisform.Pivot1 With .VisualAppearance .Add(36, "D:\Temp\ExPivot.Help\header.ebn") EndWith .BackColorHeader = 603979776 EndWith