[]
        
(Showing Draft Content)

GrapeCity.Win.Spread.InputMan.CellType.SubItem.-ctor

SubItem Constructor

SubItem(object, object, ContentAlignment, bool, bool)

Initializes a new instance of the SubItem class with values.

Declaration
public SubItem(object value, object tag, ContentAlignment contentAlignment, bool wordWrap, bool ellipsis)
Public Sub New(value As Object, tag As Object, contentAlignment As ContentAlignment, wordWrap As Boolean, ellipsis As Boolean)
Parameters
Type Name Description
object value

An object indicates the value of the SubItem object.

object tag

An object indicates the tag value of the SubItem object.

ContentAlignment contentAlignment

A ContentAlignment enumeration indicates the alignment of the content.

bool wordWrap

A bool value, true if allow wrap by word. Otherwise, false.

bool ellipsis

A bool value, true if auto show ellipsis when content can not display completely, otherwise false.

SubItem(object)

Initializes a new instance of the SubItem class with values.

Declaration
public SubItem(object value)
Public Sub New(value As Object)
Parameters
Type Name Description
object value

An object indicates the value of the SubItem object.

SubItem()

Initializes a new instance of the SubItem class.

Declaration
public SubItem()
Public Sub New()