[]
        
(Showing Draft Content)

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

CharBoxInfo Constructor

CharBoxInfo()

Initializes a new instance of the CharBoxInfo class.

Declaration
public CharBoxInfo()
Public Sub New()

CharBoxInfo(bool)

Initializes a new instance of the CharBoxInfo class.

Declaration
public CharBoxInfo(bool autoSize)
Public Sub New(autoSize As Boolean)
Parameters
Type Name Description
bool autoSize

A bool value if set to true indicates the

CharBoxInfo(bool, Size)

Initializes a new instance of the CharBoxInfo class.

Declaration
public CharBoxInfo(bool autoSize, Size size)
Public Sub New(autoSize As Boolean, size As Size)
Parameters
Type Name Description
bool autoSize

A bool value if set to true indicates the

Size size

A Size value indicates the actually size if autosize is false.

CharBoxInfo(CharBoxStyle)

Initializes a new instance of the CharBoxInfo class.

Declaration
public CharBoxInfo(CharBoxStyle style)
Public Sub New(style As CharBoxStyle)
Parameters
Type Name Description
CharBoxStyle style

A CharBoxStyle enumeration indicates the style of the char box.

CharBoxInfo(CharBoxBorderInfo)

Initializes a new instance of the CharBoxInfo class.

Declaration
public CharBoxInfo(CharBoxBorderInfo border)
Public Sub New(border As CharBoxBorderInfo)
Parameters
Type Name Description
CharBoxBorderInfo border

A CharBoxBorderInfo object indicates the border setting of the char box.

CharBoxInfo(CharBoxStyle, CharBoxBorderInfo)

Initializes a new instance of the CharBoxInfo class.

Declaration
public CharBoxInfo(CharBoxStyle style, CharBoxBorderInfo border)
Public Sub New(style As CharBoxStyle, border As CharBoxBorderInfo)
Parameters
Type Name Description
CharBoxStyle style

A CharBoxStyle enumeration indicates the style of the char box.

CharBoxBorderInfo border

A CharBoxBorderInfo object indicates the border setting of the char box.

CharBoxInfo(CharBoxStyle, CharBoxBorderInfo, Color, Color)

Initializes a new instance of the CharBoxInfo class.

Declaration
public CharBoxInfo(CharBoxStyle style, CharBoxBorderInfo border, Color backColor, Color foreColor)
Public Sub New(style As CharBoxStyle, border As CharBoxBorderInfo, backColor As Color, foreColor As Color)
Parameters
Type Name Description
CharBoxStyle style

A CharBoxStyle enumeration indicates the style of the char box.

CharBoxBorderInfo border

A CharBoxBorderInfo object indicates the border setting of the char box.

Color backColor

A Color value indicates Color of the background.

Color foreColor

A Color value indicates Color of the foreground.

CharBoxInfo(bool, Size, Color, Color, CharBoxStyle, Padding, Padding, CharBoxBorderInfo, Font, ContentAlignment)

Initializes a new instance of the CharBoxInfo class.

Declaration
public CharBoxInfo(bool autoSize, Size size, Color backColor, Color foreColor, CharBoxStyle style, Padding margin, Padding padding, CharBoxBorderInfo border, Font font, ContentAlignment contentAlignment)
Public Sub New(autoSize As Boolean, size As Size, backColor As Color, foreColor As Color, style As CharBoxStyle, margin As Padding, padding As Padding, border As CharBoxBorderInfo, font As Font, contentAlignment As ContentAlignment)
Parameters
Type Name Description
bool autoSize

A bool value if set to true indicates the char box is auto size.

Size size

A Size value indicates the actually size if autosize is false.

A CharBoxStyle enumeration indicates the style of the char box. A Color value indicates Color of the background. A Color value indicates Color of the foreground.
Color backColor
Color foreColor
CharBoxStyle style
Padding margin

A Padding value indicates the margin of the char box.

Padding padding

A Padding value indicates the padding of the char box.

CharBoxBorderInfo border

A CharBoxBorderInfo object indicates the border setting of the char box.

Font font

A Font object indicates font of the char box to render the char.

ContentAlignment contentAlignment

A ContentAlignment enumeration indicates the alignment of the content of the char box.

CharBoxInfo(SerializationInfo, StreamingContext)

Initializes a new instance of this class.

Declaration
protected CharBoxInfo(SerializationInfo info, StreamingContext context)
Protected Sub New(info As SerializationInfo, context As StreamingContext)
Parameters
Type Name Description
SerializationInfo info

The information.

StreamingContext context

The context.