[]
Initializes a new instance of the InputBoxInfo.
public LiteralBoxInfo()
Public Sub New()
Initializes a new instance of the InputBoxInfo.
public LiteralBoxInfo(string text)
Public Sub New(text As String)
Type | Name | Description |
---|---|---|
string | text | A string indicates the text of the literal box. |
Initializes a new instance of the InputBoxInfo.
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)
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. |
Initializes a new instance of this class.
protected LiteralBoxInfo(SerializationInfo info, StreamingContext context)
Protected Sub New(info As SerializationInfo, context As StreamingContext)
Type | Name | Description |
---|---|---|
SerializationInfo | info | The information. |
StreamingContext | context | The context. |