Spread Windows Forms 15.0
FarPoint.Win.Spread.Design Assembly / FarPoint.Win.Spread.Design Namespace / Item Class / Item Constructor / Item Constructor(Int32,Image,Image,String,String)
The id.
The img.
The img hover.
The text.
The alt key.


In This Topic
    Item Constructor(Int32,Image,Image,String,String)
    In This Topic
    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 text As String, _
       ByVal altKey As String _
    )
    'Usage
     
    
    Dim id As Integer
    Dim img As Image
    Dim imgHover As Image
    Dim text As String
    Dim altKey As String
     
    Dim instance As New Item(id, img, imgHover, text, altKey)

    Parameters

    id
    The id.
    img
    The img.
    imgHover
    The img hover.
    text
    The text.
    altKey
    The alt key.
    See Also