Spread Windows Forms 12.0 Product Documentation
Item Constructor(Int32,Image,Image,Image,String,Boolean,String)


FarPoint.Win.Spread.Design Assembly > FarPoint.Win.Spread.Design Namespace > Item Class > Item Constructor : Item Constructor(Int32,Image,Image,Image,String,Boolean,String)
The id.
The img.
The img hover.
The img disable.
The text.
if set to true [has sep].
The alt key.
Initializes a new instance of the Item class.
Syntax
'Declaration
 
Public Function New( _
   ByVal id As Integer, _
   ByVal img As Image, _
   ByVal imgHover As Image, _
   ByVal imgDisable As Image, _
   ByVal text As String, _
   ByVal hasSep As Boolean, _
   ByVal altKey As String _
)
'Usage
 
Dim id As Integer
Dim img As Image
Dim imgHover As Image
Dim imgDisable As Image
Dim text As String
Dim hasSep As Boolean
Dim altKey As String
 
Dim instance As New Item(id, img, imgHover, imgDisable, text, hasSep, altKey)
public Item( 
   int id,
   Image img,
   Image imgHover,
   Image imgDisable,
   string text,
   bool hasSep,
   string altKey
)

Parameters

id
The id.
img
The img.
imgHover
The img hover.
imgDisable
The img disable.
text
The text.
hasSep
if set to true [has sep].
altKey
The alt key.
See Also

Reference

Item Class
Item Members
Overload List