Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a Windows Forms TextBox that can be added to a Microsoft Office Excel worksheet.
[System.ComponentModel.DefaultEvent("TextChanged")] [System.ComponentModel.DefaultProperty("Text")] [System.ComponentModel.ToolboxItem(false)] public class TextBox : System.Windows.Forms.TextBox
The Microsoft.Office.Tools.Excel.Controls.TextBox is different from a System.Windows.Forms.TextBox. The Microsoft.Office.Tools.Excel.Controls.TextBox has additional members that enable it to be added to an Excel worksheet and that give it additional methods and properties.
Gets the distance, in points, between the bottom edge of the TextBox and the top edge of the worksheet.
Gets a value that indicates the application in which the TextBox was created.
Gets or sets the height of the TextBox.
Gets or sets the distance, in points, between the left edge of the TextBox and the left edge of the worksheet.
Gets or sets a value that indicates whether the TextBox can be modified at design time when the sheet is protected.
Gets a value that represents the OLE object type.
Gets the parent object for the TextBox.
Gets or sets an object that indicates the way the TextBox is attached to the cells below it.
Gets or sets a value that indicates whether the TextBox is printed when the worksheet is printed.
Gets the distance, in points, between the right edge of the TextBox and the left edge of the worksheet.
Gets or sets the link source name of the TextBox.
Gets or sets the distance, in points, between the top edge of the TextBox and the top edge of the worksheet.
Gets or sets a value that represents whether the TextBox is visible.
Gets or sets the width of the TextBox in points.
Gets the z-order position of the TextBox.
Activates the TextBox.
Brings the TextBox to the front of the z-order.
Copies the TextBox to the Clipboard as a picture.
Selects the TextBox.
Sends the TextBox to the back of the z-order.
Sets the TextBox to the specified visible state.