TextBoxActiveXControl
TextBoxActiveXControl class
Represents a text box ActiveX control.
Properties
| Name | Type | Description |
|---|---|---|
| Type | int | Gets the type of the ActiveX control. The value of the property is ControlType integer constant. |
| BorderStyle | int | Gets and set the type of border used by the control. The value of the property is ControlBorderType integer constant. |
| BorderOleColor | int | Gets and sets the ole color of the background. |
| SpecialEffect | int | Gets and sets the special effect of the control. The value of the property is ControlSpecialEffectType integer constant. |
| MaxLength | int | Gets and sets the maximum number of characters |
| ScrollBars | int | Indicates specifies whether the control has vertical scroll bars, horizontal scroll bars, both, or neither. The value of |
| PasswordChar | char | Gets and sets a character to be displayed in place of the characters entered. |
| IsEditable | boolean | Indicates whether the user can type into the control. |
| IntegralHeight | boolean | Indicates whether the control will only show complete lines of text without showing any partial lines. |
| IsDragBehaviorEnabled | boolean | Indicates whether dragging and dropping is enabled for the control. |
| EnterKeyBehavior | boolean | Specifies the behavior of the ENTER key. True specifies that pressing ENTER will create a new line. False specifies that |
| EnterFieldBehavior | boolean | Specifies selection behavior when entering the control. True specifies that the selection remains unchanged from last ti |
| TabKeyBehavior | boolean | Indicates whether tab characters are allowed in the text of the control. |
| HideSelection | boolean | Indicates whether selected text in the control appears highlighted when the control does not have focus. |
| IsAutoTab | boolean | Indicates whether the focus will automatically move to the next control when the user enters the maximum number of chara |
| IsMultiLine | boolean | Indicates whether the control can display more than one line of text. |
| IsAutoWordSelected | boolean | Specifies the basic unit used to extend a selection. True specifies that the basic unit is a single character. false spe |
| IsWordWrapped | boolean | Indicates whether the contents of the control automatically wrap at the end of a line. |
| Text | String | Gets and set text of the control. |
| DropButtonStyle | int | Specifies the symbol displayed on the drop button The value of the property is DropButtonStyle integer constant. |
| ShowDropButtonTypeWhen | int | Specifies the symbol displayed on the drop button The value of the property is ShowDropButtonType integer constant. |
| IsEnabled | boolean | Indicates whether the control can receive the focus and respond to user-generated events. |
| IsLocked | boolean | Indicates whether data in the control is locked for editing. |
| IsTransparent | boolean | Indicates whether the control is transparent. |
| IsAutoSize | boolean | Indicates whether the control will automatically resize to display its entire contents. |
| IMEMode | int | Gets and sets the default run-time mode of the Input Method Editor for the control as it receives focus. The value of th |
| Font | Font | Represents the font of the control. |
| TextAlign | int | Represents how to align the text used by the control. The value of the property is TextAlignmentType integer constant. |
| Data | byte[] | Gets and sets the binary data of the control. |
| Workbook | Workbook | Gets the Workbook object. |
| Width | float | Gets and sets the width of the control in unit of points. |
| Height | float | Gets and sets the height of the control in unit of points. |
| MouseIcon | byte[] | Gets and sets a custom icon to display as the mouse pointer for the control. |
| MousePointer | int | Gets and sets the type of icon displayed as the mouse pointer for the control. The value of the property is ControlMouse |
| ForeOleColor | int | Gets and sets the ole color of the foreground. Not applies to Image control. |
| BackOleColor | int | Gets and sets the ole color of the background. |
| IsVisible | boolean | Indicates whether this control is visible. |
| Shadow | boolean | Indicates whether to show a shadow. |
| LinkedCell | String | Gets and sets the linked cell. |
| ListFillRange | String | Gets and sets the list fill range. |
TextBoxActiveXControl.Type property
Gets the type of the ActiveX control. The value of the property is ControlType integer constant.
Type: int
TextBoxActiveXControl.BorderStyle property
Gets and set the type of border used by the control. The value of the property is ControlBorderType integer constant.
Type: int
TextBoxActiveXControl.BorderOleColor property
Gets and sets the ole color of the background.
Type: int
TextBoxActiveXControl.SpecialEffect property
Gets and sets the special effect of the control. The value of the property is ControlSpecialEffectType integer constant.
Type: int
TextBoxActiveXControl.MaxLength property
Gets and sets the maximum number of characters
Type: int
TextBoxActiveXControl.ScrollBars property
Indicates specifies whether the control has vertical scroll bars, horizontal scroll bars, both, or neither. The value of the property is ControlScrollBarType integer constant.
Type: int
TextBoxActiveXControl.PasswordChar property
Gets and sets a character to be displayed in place of the characters entered.
Type: char
TextBoxActiveXControl.IsEditable property
Indicates whether the user can type into the control.
Type: boolean
TextBoxActiveXControl.IntegralHeight property
Indicates whether the control will only show complete lines of text without showing any partial lines.
Type: boolean
TextBoxActiveXControl.IsDragBehaviorEnabled property
Indicates whether dragging and dropping is enabled for the control.
Type: boolean
TextBoxActiveXControl.EnterKeyBehavior property
Specifies the behavior of the ENTER key. True specifies that pressing ENTER will create a new line. False specifies that pressing ENTER will move the focus to the next object in the tab order.
Type: boolean
TextBoxActiveXControl.EnterFieldBehavior property
Specifies selection behavior when entering the control. True specifies that the selection remains unchanged from last time the control was active. False specifies that all the text in the control will be selected when entering the control.
Type: boolean
TextBoxActiveXControl.TabKeyBehavior property
Indicates whether tab characters are allowed in the text of the control.
Type: boolean
TextBoxActiveXControl.HideSelection property
Indicates whether selected text in the control appears highlighted when the control does not have focus.
Type: boolean
TextBoxActiveXControl.IsAutoTab property
Indicates whether the focus will automatically move to the next control when the user enters the maximum number of characters.
Type: boolean
TextBoxActiveXControl.IsMultiLine property
Indicates whether the control can display more than one line of text.
Type: boolean
TextBoxActiveXControl.IsAutoWordSelected property
Specifies the basic unit used to extend a selection. True specifies that the basic unit is a single character. false specifies that the basic unit is a whole word.
Type: boolean
TextBoxActiveXControl.IsWordWrapped property
Indicates whether the contents of the control automatically wrap at the end of a line.
Type: boolean
TextBoxActiveXControl.Text property
Gets and set text of the control.
Type: String
TextBoxActiveXControl.DropButtonStyle property
Specifies the symbol displayed on the drop button The value of the property is DropButtonStyle integer constant.
Type: int
TextBoxActiveXControl.ShowDropButtonTypeWhen property
Specifies the symbol displayed on the drop button The value of the property is ShowDropButtonType integer constant.
Type: int
TextBoxActiveXControl.IsEnabled property
Indicates whether the control can receive the focus and respond to user-generated events.
Type: boolean
TextBoxActiveXControl.IsLocked property
Indicates whether data in the control is locked for editing.
Type: boolean
TextBoxActiveXControl.IsTransparent property
Indicates whether the control is transparent.
Type: boolean
TextBoxActiveXControl.IsAutoSize property
Indicates whether the control will automatically resize to display its entire contents.
Type: boolean
TextBoxActiveXControl.IMEMode property
Gets and sets the default run-time mode of the Input Method Editor for the control as it receives focus. The value of the property is InputMethodEditorMode integer constant.
Type: int
TextBoxActiveXControl.Font property
Represents the font of the control.
Type: Font
TextBoxActiveXControl.TextAlign property
Represents how to align the text used by the control. The value of the property is TextAlignmentType integer constant.
Type: int
TextBoxActiveXControl.Data property
Gets and sets the binary data of the control.
Type: byte[]
TextBoxActiveXControl.Workbook property
Gets the Workbook object.
Type: Workbook
TextBoxActiveXControl.Width property
Gets and sets the width of the control in unit of points.
Type: float
TextBoxActiveXControl.Height property
Gets and sets the height of the control in unit of points.
Type: float
TextBoxActiveXControl.MouseIcon property
Gets and sets a custom icon to display as the mouse pointer for the control.
Type: byte[]
TextBoxActiveXControl.MousePointer property
Gets and sets the type of icon displayed as the mouse pointer for the control. The value of the property is ControlMousePointerType integer constant.
Type: int
TextBoxActiveXControl.ForeOleColor property
Gets and sets the ole color of the foreground. Not applies to Image control.
Type: int
TextBoxActiveXControl.BackOleColor property
Gets and sets the ole color of the background.
Type: int
TextBoxActiveXControl.IsVisible property
Indicates whether this control is visible.
Type: boolean
TextBoxActiveXControl.Shadow property
Indicates whether to show a shadow.
Type: boolean
TextBoxActiveXControl.LinkedCell property
Gets and sets the linked cell.
Type: String
TextBoxActiveXControl.ListFillRange property
Gets and sets the list fill range.
Type: String