• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

Class ActiveXTextBox

Represents the active xtext box class used by the spreadsheet model.

Inheritance
object
AbstractControl
ActiveXControl
ActiveXTextBox
Implements
IWorksheetDrawingObject
ISheetDrawingObject
IDrawingObject
Inherited Members
ActiveXControl.worksheet
ActiveXControl.Accelerator
ActiveXControl.BackColor
ActiveXControl.BackStyle
ActiveXControl.Caption
ActiveXControl.ClassId
ActiveXControl.Enabled
ActiveXControl.FontName
ActiveXControl.ForeColor
ActiveXControl.FontEffects
ActiveXControl.FontHeightInTwips
ActiveXControl.FontCharSet
ActiveXControl.FontPitchAndFamily
ActiveXControl.FontWeight
ActiveXControl.HideSelection
ActiveXControl.IMEMode
ActiveXControl.Locked
ActiveXControl.MousePointer
ActiveXControl.ParagraphAlign
ActiveXControl.PrintObject
ActiveXControl.Shadow
ActiveXControl.SpecialEffect
ActiveXControl.Value
ActiveXControl.WordWrap
AbstractControl.anchoredCell
AbstractControl.AnchoredCell
AbstractControl.BottomRightCell
AbstractControl.Worksheet
AbstractControl.ObjectPositioning
AbstractControl.Id
AbstractControl.Name
AbstractControl.Sheet
AbstractControl.Size
AbstractControl.ParentGroup
AbstractControl.Positioning
AbstractControl.Position
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: DRIT.Spreadsheet.Forms
Assembly: DRIT.Spreadsheet.dll
Syntax
public class ActiveXTextBox : ActiveXControl, IWorksheetDrawingObject, ISheetDrawingObject, IDrawingObject

Fields

TextBoxClassId

Exposes the string associated with ActiveXTextBox.

Declaration
public const string TextBoxClassId = "{8BD21D10-EC42-11CE-9E0D-00AA006002F3}"
Field Value
Type Description
string

Properties

AutoLoad

Exposes the auto load associated with ActiveXTextBox.

Declaration
public bool AutoLoad { get; set; }
Property Value
Type Description
bool

AutoSize

Exposes the auto size associated with ActiveXTextBox.

Declaration
public bool AutoSize { get; set; }
Property Value
Type Description
bool

AutoTab

Exposes the auto tab associated with ActiveXTextBox.

Declaration
public bool AutoTab { get; set; }
Property Value
Type Description
bool

AutoWordSelect

Specifies whether a word or a character is the basic unit used to extend a selection.

Declaration
public bool AutoWordSelect { get; set; }
Property Value
Type Description
bool

True - Uses a word as the basic unit (default). False - Uses a character as the basic unit.

BorderColor

Specifies the color of the border of the control.

Declaration
public long BorderColor { get; set; }
Property Value
Type Description
long
Remarks

2.5.7 BorderColor

BorderStyle

Specifies the type of border used by the control.

Declaration
public BorderStyle BorderStyle { get; set; }
Property Value
Type Description
BorderStyle
Remarks

2.5.8 BorderStyle

DragBehavior

Specifies whether the system enables the drag-and-drop feature

Declaration
public DragBehavior DragBehavior { get; set; }
Property Value
Type Description
DragBehavior

EnterFieldBehavior

Specifies the selection behavior when entering a TextBox.

Declaration
public EnterFieldBehavior EnterFieldBehavior { get; set; }
Property Value
Type Description
EnterFieldBehavior

EnterKeyBehavior

Defines the effect of pressing ENTER in a TextBox.

Declaration
public bool EnterKeyBehavior { get; set; }
Property Value
Type Description
bool

True - Pressing ENTER creates a new line. False - Pressing ENTER moves the focus to the next object in the tab order.

IntegralHeight

Indicates whether a TextBox displays full lines of text in a list or partial lines.

Declaration
public bool IntegralHeight { get; set; }
Property Value
Type Description
bool

LinkedCell

Specifies the cell to which the control's text is linked to.

Declaration
public Cell LinkedCell { get; set; }
Property Value
Type Description
Cell

LinkedCellLabel

Specifies the cell label to which the control's text is linked to.

Declaration
public string LinkedCellLabel { get; set; }
Property Value
Type Description
string

MaxLength

Specifies the maximum number of characters a user can enter in a TextBox.

Declaration
public int MaxLength { get; set; }
Property Value
Type Description
int

MultiLine

Specifies whether a control can accept and display multiple lines of text.

Declaration
public bool MultiLine { get; set; }
Property Value
Type Description
bool

True - The text is displayed across multiple lines (default). False - The text is not displayed across multiple lines.

PasswordChar

Specifies whether placeholder characters are displayed instead of the characters actually entered in a TextBox.

Declaration
public string PasswordChar { get; set; }
Property Value
Type Description
string

ScrollBars

Specifies whether a control, form, or page has vertical scroll bars, horizontal scroll bars, or both.

Declaration
public ScrollBars ScrollBars { get; set; }
Property Value
Type Description
ScrollBars

SelectionMargin

Specifies whether the user can select a line of text by clicking in the region to the left of the text.

Declaration
public bool SelectionMargin { get; set; }
Property Value
Type Description
bool
Remarks

True - Clicking in margin causes selection of text (default). False - Clicking in margin does not cause selection of text.

TabKeyBehavior

Determines whether tabs are allowed in the edit region.

Declaration
public bool TabKeyBehavior { get; set; }
Property Value
Type Description
bool
Remarks

True - Pressing TAB inserts a tab character in the edit region. False - Pressing TAB moves the focus to the next object in the tab order (default).

Text

Gets or sets the text used by this spreadsheet object.

Declaration
public string Text { get; set; }
Property Value
Type Description
string

TextAlign

Exposes the text align associated with ActiveXTextBox.

Declaration
public TextAlign TextAlign { get; set; }
Property Value
Type Description
TextAlign

Implements

IWorksheetDrawingObject
ISheetDrawingObject
IDrawingObject
Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX