BCGControlBar Library for .NET
TabItem Constructor(Control,String,Image)




A control to set as related for the tab on initialization.
A text to write on the surface of the tab.
An image to draw on the tab item.
Initializes a new instance of the TabItem class with specified related control, text and image.
Syntax
'Declaration
 
Public Function New( _
   ByVal control As Control, _
   ByVal label As String, _
   ByVal leftImage As Image _
)
'Usage
 
Dim control As Control
Dim label As String
Dim leftImage As Image
 
Dim instance As New TabItem(control, label, leftImage)
public TabItem( 
   Control control,
   string label,
   Image leftImage
)
public: TabItem( 
   Control* control,
   string* label,
   Image* leftImage
)
public:
TabItem( 
   Control^ control,
   String^ label,
   Image^ leftImage
)

Parameters

control
A control to set as related for the tab on initialization.
label
A text to write on the surface of the tab.
leftImage
An image to draw on the tab item.
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

TabItem Class
TabItem Members
Overload List

Send Feedback