Xceed SmartUI for WinForms v3.6 Documentation
CheckedListBoxItem Constructor(String,Int32)


Xceed.SmartUI.Controls.v3.6 Assembly > Xceed.SmartUI.Controls.CheckedListBox Namespace > CheckedListBoxItem Class > CheckedListBoxItem Constructor : CheckedListBoxItem Constructor(String,Int32)
The text displayed by the SmartItem.
The index of the image displayed by the SmartItem.
Initializes a new instance of the CheckedListBoxItem class specifying its Xceed.SmartUI.SmartItem.Text and Xceed.SmartUI.SmartItem.ImageIndex.
Syntax
'Declaration
 
Public Function New( _
   ByVal text As String, _
   ByVal imageIndex As Integer _
)
'Usage
 
Dim text As String
Dim imageIndex As Integer
 
Dim instance As New CheckedListBoxItem(text, imageIndex)
public CheckedListBoxItem( 
   string text,
   int imageIndex
)

Parameters

text
The text displayed by the SmartItem.
imageIndex
The index of the image displayed by the SmartItem.
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

CheckedListBoxItem Class
CheckedListBoxItem Members
Overload List