BCGControlBar Library for .NET
AutoColors Property (TabStrip)




An array of automatic colors.
Syntax
'Declaration
 
Public Property AutoColors As ArrayList
'Usage
 
Dim instance As TabStrip
Dim value As ArrayList
 
instance.AutoColors = value
 
value = instance.AutoColors
public ArrayList AutoColors {get; set;}
public: __property ArrayList* get_AutoColors();
public: __property void set_AutoColors( 
   ArrayList* value
);
public:
property ArrayList^ AutoColors {
   ArrayList^ get();
   void set (    ArrayList^ value);
}
Remarks

You should set this property when you set the IsAutoColor property to true. A color from an array entry is assigned to a tab item with the same index. If the length of array is less than the number of tab items, the colors are reused (e.g. if the length of array is 3, then the tab item with index 3 will get a color from the array at index 0, tab item with index 4 - color from index 1 etc).

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