TextBoxActiveXControl

TextBoxActiveXControl class

Represents a text box ActiveX control.

public class TextBoxActiveXControl : ActiveXControl

Properties

Name Description
BackOleColor { get; set; } Gets and sets the ole color of the background.
BorderOleColor { get; set; } Gets and sets the ole color of the background.
BorderStyle { get; set; } Gets and set the type of border used by the control.
override Data { get; } Gets and sets the binary data of the control.
DropButtonStyle { get; set; } Specifies the symbol displayed on the drop button
EnterFieldBehavior { get; set; } 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.
EnterKeyBehavior { get; set; } 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.
Font { get; } Represents the font of the control.
virtual ForeOleColor { get; set; } Gets and sets the ole color of the foreground.
virtual Height { get; set; } Gets and sets the height of the control in unit of points.
HideSelection { get; set; } Indicates whether selected text in the control appears highlighted when the control does not have focus.
IMEMode { get; set; } Gets and sets the default run-time mode of the Input Method Editor for the control as it receives focus.
IntegralHeight { get; set; } Indicates whether the control will only show complete lines of text without showing any partial lines.
virtual IsAutoSize { get; set; } Indicates whether the control will automatically resize to display its entire contents.
IsAutoTab { get; set; } Indicates whether the focus will automatically move to the next control when the user enters the maximum number of characters.
virtual IsAutoWordSelected { get; set; } 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.
IsDragBehaviorEnabled { get; set; } Indicates whether dragging and dropping is enabled for the control.
IsEditable { get; set; } Indicates whether the user can type into the control.
IsEnabled { get; set; } Indicates whether the control can receive the focus and respond to user-generated events.
IsLocked { get; set; } Indicates whether data in the control is locked for editing.
IsMultiLine { get; set; } Indicates whether the control can display more than one line of text.
IsTransparent { get; set; } Indicates whether the control is transparent.
virtual IsVisible { get; set; } Indicates whether this control is visible.
IsWordWrapped { get; set; } Indicates whether the contents of the control automatically wrap at the end of a line.
LinkedCell { get; set; } Gets and sets the linked cell.
ListFillRange { get; set; } Gets and sets the list fill range.
MaxLength { get; set; } Gets and sets the maximum number of characters
MouseIcon { get; set; } Gets and sets a custom icon to display as the mouse pointer for the control.
MousePointer { get; set; } Gets and sets the type of icon displayed as the mouse pointer for the control.
PasswordChar { get; set; } Gets and sets a character to be displayed in place of the characters entered.
ScrollBars { get; set; } Indicates specifies whether the control has vertical scroll bars, horizontal scroll bars, both, or neither.
virtual Shadow { get; set; } Indicates whether to show a shadow.
ShowDropButtonTypeWhen { get; set; } Specifies the symbol displayed on the drop button
SpecialEffect { get; set; } Gets and sets the special effect of the control.
TabKeyBehavior { get; set; } Indicates whether tab characters are allowed in the text of the control.
Text { get; set; } Gets and set text of the control.
TextAlign { get; set; } Represents how to align the text used by the control.
override Type { get; } Gets the type of the ActiveX control.
virtual Width { get; set; } Gets and sets the width of the control in unit of points.
Workbook { get; } Gets the Workbook object.

See Also