BCGControlBar Library for .NET
SetTabBackColor Method




Specifies a zero-based tab index.
Specifies the color to set.
Assignes a background color to a tab item.
Syntax
'Declaration
 
Public Function SetTabBackColor( _
   ByVal index As Integer, _
   ByVal color As Color _
) As Boolean
'Usage
 
Dim instance As TabStrip
Dim index As Integer
Dim color As Color
Dim value As Boolean
 
value = instance.SetTabBackColor(index, color)
public bool SetTabBackColor( 
   int index,
   Color color
)
public: bool SetTabBackColor( 
   int index,
   Color color
) 
public:
bool SetTabBackColor( 
   int index,
   Color color
) 

Parameters

index
Specifies a zero-based tab index.
color
Specifies the color to set.
Remarks
Use this method to assign a background color to a TabItem.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

TabStrip Class
TabStrip Members

Send Feedback