The properties of System.Windows.Forms.ToolStripTextBox are listed below. For a list of all members, see the ToolStripTextBox Members list.
See Also: Inherited members from System.Windows.Forms.ToolStripControlHost
| AcceptsReturn | bool.
Gets or sets a value indicating whether pressing ENTER in a multiline System.Windows.Forms.TextBox control creates a new line of text in the control or activates the default button for the form. | |
| AcceptsTab | bool.
Gets or sets a value indicating whether pressing the TAB key in a multiline text box control types a TAB character in the control instead of moving the focus to the next control in the tab order. | |
| AutoCompleteCustomSource | AutoCompleteStringCollection.
Gets or sets a custom string collection to use when the ToolStripTextBox.AutoCompleteSource property is set to CustomSource. | |
| AutoCompleteMode | AutoCompleteMode.
Gets or sets an option that controls how automatic completion works for the System.Windows.Forms.ToolStripTextBox. | |
| AutoCompleteSource | AutoCompleteSource.
Gets or sets a value specifying the source of complete strings used for automatic completion. | |
override | BackgroundImage | System.Drawing.Image.
This property is not relevant to this class. |
override | BackgroundImageLayout | ImageLayout.
This property is not relevant to this class. |
| BorderStyle | BorderStyle.
Gets or sets the border type of the System.Windows.Forms.ToolStripTextBox control. | |
| [read-only] | CanUndo | bool.
Gets a value indicating whether the user can undo the previous operation in a System.Windows.Forms.ToolStripTextBox control. |
| CharacterCasing | CharacterCasing.
Gets or sets whether the System.Windows.Forms.ToolStripTextBox control modifies the case of characters as they are typed. | |
| HideSelection | bool.
Gets or sets a value indicating whether the selected text in the text box control remains highlighted when the control loses focus. | |
| Lines | string[].
Gets or sets the lines of text in a System.Windows.Forms.ToolStripTextBox control. | |
| MaxLength | int.
Gets or sets the maximum number of characters the user can type or paste into the text box control. | |
| Modified | bool.
Gets or sets a value that indicates that the System.Windows.Forms.ToolStripTextBox control has been modified by the user since the control was created or its contents were last set. | |
| Multiline | bool.
This property is not relevant to this class. | |
| ReadOnly | bool.
Gets or sets a value indicating whether text in the System.Windows.Forms.ToolStripTextBox is read-only. | |
| SelectedText | string.
Gets or sets a value indicating the currently selected text in the control. | |
| SelectionLength | int.
Gets or sets the number of characters selected in theSystem.Windows.Forms.ToolStripTextBox. | |
| SelectionStart | int.
Gets or sets the starting point of text selected in theSystem.Windows.Forms.ToolStripTextBox. | |
| ShortcutsEnabled | bool.
Gets or sets a value indicating whether the defined shortcuts are enabled. | |
| [read-only] | TextBox | TextBox.
Gets the hosted System.Windows.Forms.TextBox control. |
| TextBoxTextAlign | HorizontalAlignment.
Gets or sets how text is aligned in a System.Windows.Forms.TextBox control. | |
| [read-only] | TextLength | int.
Gets the length of text in the control. |
| WordWrap | bool.
This property is not relevant to this class. |
| [read-only] override | DefaultMargin | Padding.
Gets the spacing, in pixels, between the System.Windows.Forms.ToolStripTextBox and adjacent items. |
| [read-only] override | DefaultSize | System.Drawing.Size.
Gets the default size of the System.Windows.Forms.ToolStripTextBox. |