[]
Initializes a new instance of the CharBoxInfo class.
public CharBoxInfo()
Public Sub New()
Initializes a new instance of the CharBoxInfo class.
public CharBoxInfo(bool autoSize)
Public Sub New(autoSize As Boolean)
Type | Name | Description |
---|---|---|
bool | autoSize |
Initializes a new instance of the CharBoxInfo class.
public CharBoxInfo(bool autoSize, Size size)
Public Sub New(autoSize As Boolean, size As Size)
Type | Name | Description |
---|---|---|
bool | autoSize | |
Size | size | A Size value indicates the actually size if autosize is false. |
Initializes a new instance of the CharBoxInfo class.
public CharBoxInfo(CharBoxStyle style)
Public Sub New(style As CharBoxStyle)
Type | Name | Description |
---|---|---|
CharBoxStyle | style | A CharBoxStyle enumeration indicates the style of the char box. |
Initializes a new instance of the CharBoxInfo class.
public CharBoxInfo(CharBoxBorderInfo border)
Public Sub New(border As CharBoxBorderInfo)
Type | Name | Description |
---|---|---|
CharBoxBorderInfo | border | A CharBoxBorderInfo object indicates the border setting of the char box. |
Initializes a new instance of the CharBoxInfo class.
public CharBoxInfo(CharBoxStyle style, CharBoxBorderInfo border)
Public Sub New(style As CharBoxStyle, border As CharBoxBorderInfo)
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. |
Initializes a new instance of the CharBoxInfo class.
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)
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. |
Initializes a new instance of the CharBoxInfo class.
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)
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. |
Initializes a new instance of this class.
protected CharBoxInfo(SerializationInfo info, StreamingContext context)
Protected Sub New(info As SerializationInfo, context As StreamingContext)
Type | Name | Description |
---|---|---|
SerializationInfo | info | The information. |
StreamingContext | context | The context. |