Spread Windows Forms 17
GrapeCity.Win.PluginInputMan Assembly / GrapeCity.Win.Spread.InputMan.CellType Namespace / SubItem Class / SubItem Constructor / SubItem Constructor(Object,Object,ContentAlignment,Boolean,Boolean)
An object indicates the value of the SubItem object.
An object indicates the tag value of the SubItem object.
A ContentAlignment enumeration indicates the alignment of the content.
A bool value, true if allow wrap by word. Otherwise, false.
A bool value, true if auto show ellipsis when content can not display completely, otherwise false.


In This Topic
    SubItem Constructor(Object,Object,ContentAlignment,Boolean,Boolean)
    In This Topic
    Initializes a new instance of the SubItem class with values.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal value As Object, _
       ByVal tag As Object, _
       ByVal contentAlignment As ContentAlignment, _
       ByVal wordWrap As Boolean, _
       ByVal ellipsis As Boolean _
    )
    'Usage
     
    
    Dim value As Object
    Dim tag As Object
    Dim contentAlignment As ContentAlignment
    Dim wordWrap As Boolean
    Dim ellipsis As Boolean
     
    Dim instance As New SubItem(value, tag, contentAlignment, wordWrap, ellipsis)

    Parameters

    value
    An object indicates the value of the SubItem object.
    tag
    An object indicates the tag value of the SubItem object.
    contentAlignment
    A ContentAlignment enumeration indicates the alignment of the content.
    wordWrap
    A bool value, true if allow wrap by word. Otherwise, false.
    ellipsis
    A bool value, true if auto show ellipsis when content can not display completely, otherwise false.
    See Also