Spread Windows Forms 12.0 Product Documentation
SubItemInfo Constructor(Object,Object,ContentAlignment,Boolean,Boolean)


GrapeCity.Win.PluginInputMan Assembly > GrapeCity.Win.Spread.InputMan.CellType Namespace > SubItemInfo Class > SubItemInfo Constructor : SubItemInfo Constructor(Object,Object,ContentAlignment,Boolean,Boolean)
An object that indicates the value of the SubItemInfo object.
An object that indicates the tag value of the SubItemInfo object.
A ContentAlignment enumeration that indicates the alignment of the content.
A bool value, true to allow wrapping by word; otherwise, false.
A bool value, true to automatically show the ellipsis when content is not completely displayed; otherwise, false.
Initializes a new instance of the SubItemInfo 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 SubItemInfo(value, tag, contentAlignment, wordWrap, ellipsis)
public SubItemInfo( 
   object value,
   object tag,
   ContentAlignment contentAlignment,
   bool wordWrap,
   bool ellipsis
)

Parameters

value
An object that indicates the value of the SubItemInfo object.
tag
An object that indicates the tag value of the SubItemInfo object.
contentAlignment
A ContentAlignment enumeration that indicates the alignment of the content.
wordWrap
A bool value, true to allow wrapping by word; otherwise, false.
ellipsis
A bool value, true to automatically show the ellipsis when content is not completely displayed; otherwise, false.
See Also

Reference

SubItemInfo Class
SubItemInfo Members
Overload List