
## TextBoxActiveXControl class

Represents a text box ActiveX control.

## Properties

| Name | Type | Description |
| --- | --- | --- |
| [Type](#type) | int | Gets the type of the ActiveX control. The value of the property is ControlType integer constant. |
| [BorderStyle](#borderstyle) | int | Gets and set the type of border used by the control. The value of the property is ControlBorderType integer constant. |
| [BorderOleColor](#borderolecolor) | int | Gets and sets the ole color of the background. |
| [SpecialEffect](#specialeffect) | int | Gets and sets the special effect of the control. The value of the property is ControlSpecialEffectType integer constant. |
| [MaxLength](#maxlength) | int | Gets and sets the maximum number of characters |
| [ScrollBars](#scrollbars) | int | Indicates specifies whether the control has vertical scroll bars, horizontal scroll bars, both, or neither. The value of |
| [PasswordChar](#passwordchar) | char | Gets and sets a character to be displayed in place of the characters entered. |
| [IsEditable](#iseditable) | boolean | Indicates whether the user can type into the control. |
| [IntegralHeight](#integralheight) | boolean | Indicates whether the control will only show complete lines of text without showing any partial lines. |
| [IsDragBehaviorEnabled](#isdragbehaviorenabled) | boolean | Indicates whether dragging and dropping is enabled for the control. |
| [EnterKeyBehavior](#enterkeybehavior) | boolean | Specifies the behavior of the ENTER key. True specifies that pressing ENTER will create a new line. False specifies that |
| [EnterFieldBehavior](#enterfieldbehavior) | boolean | Specifies selection behavior when entering the control. True specifies that the selection remains unchanged from last ti |
| [TabKeyBehavior](#tabkeybehavior) | boolean | Indicates whether tab characters are allowed in the text of the control. |
| [HideSelection](#hideselection) | boolean | Indicates whether selected text in the control appears highlighted when the control does not have focus. |
| [IsAutoTab](#isautotab) | boolean | Indicates whether the focus will automatically move to the next control when the user enters the maximum number of chara |
| [IsMultiLine](#ismultiline) | boolean | Indicates whether the control can display more than one line of text. |
| [IsAutoWordSelected](#isautowordselected) | boolean | Specifies the basic unit used to extend a selection. True specifies that the basic unit is a single character. false spe |
| [IsWordWrapped](#iswordwrapped) | boolean | Indicates whether the contents of the control automatically wrap at the end of a line. |
| [Text](#text) | String | Gets and set text of the control. |
| [DropButtonStyle](#dropbuttonstyle) | int | Specifies the symbol displayed on the drop button The value of the property is DropButtonStyle integer constant. |
| [ShowDropButtonTypeWhen](#showdropbuttontypewhen) | int | Specifies the symbol displayed on the drop button The value of the property is ShowDropButtonType integer constant. |
| [IsEnabled](#isenabled) | boolean | Indicates whether the control can receive the focus and respond to user-generated events. |
| [IsLocked](#islocked) | boolean | Indicates whether data in the control is locked for editing. |
| [IsTransparent](#istransparent) | boolean | Indicates whether the control is transparent. |
| [IsAutoSize](#isautosize) | boolean | Indicates whether the control will automatically resize to display its entire contents. |
| [IMEMode](#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) | Font | Represents the font of the control. |
| [TextAlign](#textalign) | int | Represents how to align the text used by the control. The value of the property is TextAlignmentType integer constant. |
| [Data](#data) | byte[] | Gets and sets the binary data of the control. |
| [Workbook](#workbook) | Workbook | Gets the Workbook object. |
| [Width](#width) | float | Gets and sets the width of the control in unit of points. |
| [Height](#height) | float | Gets and sets the height of the control in unit of points. |
| [MouseIcon](#mouseicon) | byte[] | Gets and sets a custom icon to display as the mouse pointer for the control. |
| [MousePointer](#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](#foreolecolor) | int | Gets and sets the ole color of the foreground. Not applies to Image control. |
| [BackOleColor](#backolecolor) | int | Gets and sets the ole color of the background. |
| [IsVisible](#isvisible) | boolean | Indicates whether this control is visible. |
| [Shadow](#shadow) | boolean | Indicates whether to show a shadow. |
| [LinkedCell](#linkedcell) | String | Gets and sets the linked cell. |
| [ListFillRange](#listfillrange) | String | Gets and sets the list fill range. |

### TextBoxActiveXControl.Type property {#type}

Gets the type of the ActiveX control. The value of the property is ControlType integer constant.

**Type:** int

### TextBoxActiveXControl.BorderStyle property {#borderstyle}

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 {#borderolecolor}

Gets and sets the ole color of the background.

**Type:** int

### TextBoxActiveXControl.SpecialEffect property {#specialeffect}

Gets and sets the special effect of the control. The value of the property is ControlSpecialEffectType integer constant.

**Type:** int

### TextBoxActiveXControl.MaxLength property {#maxlength}

Gets and sets the maximum number of characters

**Type:** int

### TextBoxActiveXControl.ScrollBars property {#scrollbars}

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 {#passwordchar}

Gets and sets a character to be displayed in place of the characters entered.

**Type:** char

### TextBoxActiveXControl.IsEditable property {#iseditable}

Indicates whether the user can type into the control.

**Type:** boolean

### TextBoxActiveXControl.IntegralHeight property {#integralheight}

Indicates whether the control will only show complete lines of text without showing any partial lines.

**Type:** boolean

### TextBoxActiveXControl.IsDragBehaviorEnabled property {#isdragbehaviorenabled}

Indicates whether dragging and dropping is enabled for the control.

**Type:** boolean

### TextBoxActiveXControl.EnterKeyBehavior property {#enterkeybehavior}

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 {#enterfieldbehavior}

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 {#tabkeybehavior}

Indicates whether tab characters are allowed in the text of the control.

**Type:** boolean

### TextBoxActiveXControl.HideSelection property {#hideselection}

Indicates whether selected text in the control appears highlighted when the control does not have focus.

**Type:** boolean

### TextBoxActiveXControl.IsAutoTab property {#isautotab}

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 {#ismultiline}

Indicates whether the control can display more than one line of text.

**Type:** boolean

### TextBoxActiveXControl.IsAutoWordSelected property {#isautowordselected}

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 {#iswordwrapped}

Indicates whether the contents of the control automatically wrap at the end of a line.

**Type:** boolean

### TextBoxActiveXControl.Text property {#text}

Gets and set text of the control.

**Type:** String

### TextBoxActiveXControl.DropButtonStyle property {#dropbuttonstyle}

Specifies the symbol displayed on the drop button The value of the property is DropButtonStyle integer constant.

**Type:** int

### TextBoxActiveXControl.ShowDropButtonTypeWhen property {#showdropbuttontypewhen}

Specifies the symbol displayed on the drop button The value of the property is ShowDropButtonType integer constant.

**Type:** int

### TextBoxActiveXControl.IsEnabled property {#isenabled}

Indicates whether the control can receive the focus and respond to user-generated events.

**Type:** boolean

### TextBoxActiveXControl.IsLocked property {#islocked}

Indicates whether data in the control is locked for editing.

**Type:** boolean

### TextBoxActiveXControl.IsTransparent property {#istransparent}

Indicates whether the control is transparent.

**Type:** boolean

### TextBoxActiveXControl.IsAutoSize property {#isautosize}

Indicates whether the control will automatically resize to display its entire contents.

**Type:** boolean

### TextBoxActiveXControl.IMEMode property {#imemode}

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 {#font}

Represents the font of the control.

**Type:** Font

### TextBoxActiveXControl.TextAlign property {#textalign}

Represents how to align the text used by the control. The value of the property is TextAlignmentType integer constant.

**Type:** int

### TextBoxActiveXControl.Data property {#data}

Gets and sets the binary data of the control.

**Type:** byte[]

### TextBoxActiveXControl.Workbook property {#workbook}

Gets the Workbook object.

**Type:** Workbook

### TextBoxActiveXControl.Width property {#width}

Gets and sets the width of the control in unit of points.

**Type:** float

### TextBoxActiveXControl.Height property {#height}

Gets and sets the height of the control in unit of points.

**Type:** float

### TextBoxActiveXControl.MouseIcon property {#mouseicon}

Gets and sets a custom icon to display as the mouse pointer for the control.

**Type:** byte[]

### TextBoxActiveXControl.MousePointer property {#mousepointer}

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 {#foreolecolor}

Gets and sets the ole color of the foreground. Not applies to Image control.

**Type:** int

### TextBoxActiveXControl.BackOleColor property {#backolecolor}

Gets and sets the ole color of the background.

**Type:** int

### TextBoxActiveXControl.IsVisible property {#isvisible}

Indicates whether this control is visible.

**Type:** boolean

### TextBoxActiveXControl.Shadow property {#shadow}

Indicates whether to show a shadow.

**Type:** boolean

### TextBoxActiveXControl.LinkedCell property {#linkedcell}

Gets and sets the linked cell.

**Type:** String

### TextBoxActiveXControl.ListFillRange property {#listfillrange}

Gets and sets the list fill range.

**Type:** String
