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)
The id.
The img.
The img hover.
The text.


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

    Parameters

    id
    The id.
    img
    The img.
    imgHover
    The img hover.
    text
    The text.
    See Also