[]
        
(Showing Draft Content)

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

LiteralBoxInfo Constructor

LiteralBoxInfo()

Initializes a new instance of the InputBoxInfo.

Declaration
public LiteralBoxInfo()
Public Sub New()

LiteralBoxInfo(string)

Initializes a new instance of the InputBoxInfo.

Declaration
public LiteralBoxInfo(string text)
Public Sub New(text As String)
Parameters
Type Name Description
string text

A string indicates the text of the literal box.

LiteralBoxInfo(bool, Size, Color, Color, CharBoxStyle, Padding, Padding, CharBoxBorderInfo, Font, ContentAlignment, string)

Initializes a new instance of the InputBoxInfo.

Declaration
public LiteralBoxInfo(bool autoSize, Size size, Color backColor, Color foreColor, CharBoxStyle style, Padding margin, Padding padding, CharBoxBorderInfo border, Font font, ContentAlignment contentAlignment, string text)
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, text As String)
Parameters
Type Name Description
bool autoSize

A bool value indicating whether the height of the control automatically adjusts when the font assigned to the control is changed.

Size size

A Size indicates the size of the literal box.

Color backColor

A Color indicates the background color.

Color foreColor

A Color indicates the foreground color.

CharBoxStyle style

A CharBoxStyle indicates the literal box style.

Padding margin

A Padding indicates the margins.

Padding padding

A Padding indicates the paddings.

CharBoxBorderInfo border

A CharBoxBorderInfo indicates the border of the literal box.

Font font

A Font indicates the text font of the literal box.

ContentAlignment contentAlignment

A ContentAlignment value indicates the content alignment of the literal box.

string text

A string value indicates the text of the literal box.

LiteralBoxInfo(SerializationInfo, StreamingContext)

Initializes a new instance of this class.

Declaration
protected LiteralBoxInfo(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.