[]
Initializes a new instance of the InputBoxInfo.
public InputBoxInfo()
Public Sub New()
Initializes a new instance of the InputBoxInfo.
public InputBoxInfo(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 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 inputable box. |
Color | backColor | A Color indicates the background color. |
Color | foreColor | A Color indicates the foreground color. |
CharBoxStyle | style | A CharBoxStyle indicates the inputable 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 inputable box. |
Font | font | A Font indicates the text font of the inputable box. |
ContentAlignment | contentAlignment | A ContentAlignment value indicates the content alignment of the inputable box. |
Initializes a new instance of this class.
protected InputBoxInfo(SerializationInfo info, StreamingContext context)
Protected Sub New(info As SerializationInfo, context As StreamingContext)
Type | Name | Description |
---|---|---|
SerializationInfo | info | The information. |
StreamingContext | context | The context. |