Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

ToolStripTextBox Properties

The ToolStripTextBox type exposes the following members.

  Name Description
Public property AcceptsReturn Gets or sets a value indicating whether pressing ENTER in a multiline TextBox control creates a new line of text in the control or activates the default button for the form.
Public property AcceptsTab 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.
Public property AccessibilityObject Gets the AccessibleObject assigned to the control. (Inherited from ToolStripItem.)
Public property AccessibleDefaultActionDescription Gets or sets the default action description of the control for use by accessibility client applications. (Inherited from ToolStripItem.)
Public property AccessibleDescription Gets or sets the description that will be reported to accessibility client applications. (Inherited from ToolStripItem.)
Public property AccessibleName Gets or sets the name of the control for use by accessibility client applications. (Inherited from ToolStripItem.)
Public property AccessibleRole Gets or sets the accessible role of the control, which specifies the type of user interface element of the control. (Inherited from ToolStripItem.)
Public property Alignment Gets or sets a value indicating whether the item aligns towards the beginning or end of the ToolStrip. (Inherited from ToolStripItem.)
Public property AllowDrop Gets or sets a value indicating whether drag-and-drop and item reordering are handled through events that you implement. (Inherited from ToolStripItem.)
Public property Anchor Gets or sets the edges of the container to which a ToolStripItem is bound and determines how a ToolStripItem is resized with its parent. (Inherited from ToolStripItem.)
Public property AutoCompleteCustomSource Gets or sets a custom string collection to use when the AutoCompleteSource property is set to CustomSource.
Public property AutoCompleteMode Gets or sets an option that controls how automatic completion works for the ToolStripTextBox.
Public property AutoCompleteSource Gets or sets a value specifying the source of complete strings used for automatic completion.
Public property AutoSize Gets or sets a value indicating whether the item is automatically sized. (Inherited from ToolStripItem.)
Public property AutoToolTip Gets or sets a value indicating whether to use the Text property or the ToolTipText property for the ToolStripItem ToolTip. (Inherited from ToolStripItem.)
Public property Available Gets or sets a value indicating whether the ToolStripItem should be placed on a ToolStrip. (Inherited from ToolStripItem.)
Public property BackColor Gets or sets the background color for the control. (Inherited from ToolStripControlHost.)
Public property BackgroundImage Infrastructure. This property is not relevant to this class. (Overrides ToolStripControlHost.BackgroundImage.)
Public property BackgroundImageLayout Infrastructure. This property is not relevant to this class. (Overrides ToolStripControlHost.BackgroundImageLayout.)
Public property BorderStyle Gets or sets the border type of the ToolStripTextBox control.
Public property Bounds Gets the size and location of the item. (Inherited from ToolStripItem.)
Protected property CanRaiseEvents Gets a value indicating whether the component can raise an event. (Inherited from Component.)
Public property CanSelect Gets a value indicating whether the control can be selected. (Inherited from ToolStripControlHost.)
Public property CanUndo Gets a value indicating whether the user can undo the previous operation in a ToolStripTextBox control.
Public property CausesValidation Gets or sets a value indicating whether the hosted control causes and raises validation events on other controls when the hosted control receives focus. (Inherited from ToolStripControlHost.)
Public property CharacterCasing Gets or sets whether the ToolStripTextBox control modifies the case of characters as they are typed.
Public property Container Gets the IContainer that contains the Component. (Inherited from Component.)
Public property ContentRectangle Gets the area where content, such as text and icons, can be placed within a ToolStripItem without overwriting background borders. (Inherited from ToolStripItem.)
Public property Control Gets the Control that this ToolStripControlHost is hosting. (Inherited from ToolStripControlHost.)
Public property ControlAlign Gets or sets the alignment of the control on the form. (Inherited from ToolStripControlHost.)
Protected property DefaultAutoToolTip Gets a value indicating whether to display the ToolTip that is defined as the default. (Inherited from ToolStripItem.)
Protected property DefaultDisplayStyle Gets a value indicating what is displayed on the ToolStripItem. (Inherited from ToolStripItem.)
Protected property DefaultMargin Gets the spacing, in pixels, between the ToolStripTextBox and adjacent items. (Overrides ToolStripItem.DefaultMargin.)
Protected property DefaultPadding Gets the internal spacing characteristics of the item. (Inherited from ToolStripItem.)
Protected property DefaultSize Gets the default size of the ToolStripTextBox. (Overrides ToolStripControlHost.DefaultSize.)
Protected property DesignMode Gets a value that indicates whether the Component is currently in design mode. (Inherited from Component.)
Protected property DismissWhenClicked Gets a value indicating whether items on a ToolStripDropDown are hidden after they are clicked. (Inherited from ToolStripItem.)
Public property DisplayStyle Infrastructure. This property is not relevant to this class. (Inherited from ToolStripControlHost.)
Public property Dock Gets or sets which ToolStripItem borders are docked to its parent control and determines how a ToolStripItem is resized with its parent. (Inherited from ToolStripItem.)
Public property DoubleClickEnabled Infrastructure. This property is not relevant to this class. (Inherited from ToolStripControlHost.)
Public property Enabled Gets or sets a value indicating whether the parent control of the ToolStripItem is enabled. (Inherited from ToolStripControlHost.)
Protected property Events Gets the list of event handlers that are attached to this Component. (Inherited from Component.)
Public property Focused Gets a value indicating whether the control has input focus. (Inherited from ToolStripControlHost.)
Public property Font Gets or sets the font to be used on the hosted control. (Inherited from ToolStripControlHost.)
Public property ForeColor Gets or sets the foreground color of the hosted control. (Inherited from ToolStripControlHost.)
Public property Height Gets or sets the height, in pixels, of a ToolStripItem. (Inherited from ToolStripItem.)
Public property HideSelection Gets or sets a value indicating whether the selected text in the text box control remains highlighted when the control loses focus.
Public property Image Infrastructure. The image associated with the object. (Inherited from ToolStripControlHost.)
Public property ImageAlign Infrastructure. This property is not relevant to this class. (Inherited from ToolStripControlHost.)
Public property ImageIndex Gets or sets the index value of the image that is displayed on the item. (Inherited from ToolStripItem.)
Public property ImageKey Gets or sets the key accessor for the image in the ImageList that is displayed on a ToolStripItem. (Inherited from ToolStripItem.)
Public property ImageScaling Infrastructure. This property is not relevant to this class. (Inherited from ToolStripControlHost.)
Public property ImageTransparentColor This property is not relevant to this class. (Inherited from ToolStripControlHost.)
Public property IsDisposed Gets a value indicating whether the object has been disposed of. (Inherited from ToolStripItem.)
Public property IsOnDropDown Gets a value indicating whether the container of the current Control is a ToolStripDropDown. (Inherited from ToolStripItem.)
Public property IsOnOverflow Gets a value indicating whether the Placement property is set to Overflow. (Inherited from ToolStripItem.)
Public property Lines Gets or sets the lines of text in a ToolStripTextBox control.
Public property Margin Gets or sets the space between the item and adjacent items. (Inherited from ToolStripItem.)
Public property MaxLength Gets or sets the maximum number of characters the user can type or paste into the text box control.
Public property MergeAction Gets or sets how child menus are merged with parent menus. (Inherited from ToolStripItem.)
Public property MergeIndex Gets or sets the position of a merged item within the current ToolStrip. (Inherited from ToolStripItem.)
Public property Modified Gets or sets a value that indicates that the ToolStripTextBox control has been modified by the user since the control was created or its contents were last set.
Public property Multiline Infrastructure. This property is not relevant to this class.
Public property Name Gets or sets the name of the item. (Inherited from ToolStripItem.)
Public property Overflow Gets or sets whether the item is attached to the ToolStrip or ToolStripOverflowButton or can float between the two. (Inherited from ToolStripItem.)
Public property Owner Gets or sets the owner of this item. (Inherited from ToolStripItem.)
Public property OwnerItem Gets the parent ToolStripItem of this ToolStripItem. (Inherited from ToolStripItem.)
Public property Padding Gets or sets the internal spacing, in pixels, between the item's contents and its edges. (Inherited from ToolStripItem.)
Protected property Parent Gets or sets the parent container of the ToolStripItem. (Inherited from ToolStripItem.)
Public property Placement Gets the current layout of the item. (Inherited from ToolStripItem.)
Public property Pressed Gets a value indicating whether the state of the item is pressed. (Inherited from ToolStripItem.)
Public property ReadOnly Gets or sets a value indicating whether text in the ToolStripTextBox is read-only.
Public property RightToLeft Gets or sets a value indicating whether control's elements are aligned to support locales using right-to-left fonts. (Inherited from ToolStripControlHost.)
Public property RightToLeftAutoMirrorImage Infrastructure. This property is not relevant to this class. (Inherited from ToolStripControlHost.)
Public property Selected Gets a value indicating whether the item is selected. (Inherited from ToolStripControlHost.)
Public property SelectedText Gets or sets a value indicating the currently selected text in the control.
Public property SelectionLength Gets or sets the number of characters selected in theToolStripTextBox.
Public property SelectionStart Gets or sets the starting point of text selected in theToolStripTextBox.
Public property ShortcutsEnabled Gets or sets a value indicating whether the defined shortcuts are enabled.
Protected property ShowKeyboardCues Gets a value indicating whether to show or hide shortcut keys. (Inherited from ToolStripItem.)
Public property Site Gets or sets the site of the hosted control. (Inherited from ToolStripControlHost.)
Public property Size Gets or sets the size of the ToolStripItem. (Inherited from ToolStripControlHost.)
Public property Tag Gets or sets the object that contains data about the item. (Inherited from ToolStripItem.)
Public property Text Gets or sets the text to be displayed on the hosted control. (Inherited from ToolStripControlHost.)
Public property TextAlign Infrastructure. This property is not relevant to this class. (Inherited from ToolStripControlHost.)
Public property TextBox Gets the hosted TextBox control.
Public property TextBoxTextAlign Gets or sets how text is aligned in a TextBox control.
Public property TextDirection Infrastructure. This property is not relevant to this class. (Inherited from ToolStripControlHost.)
Public property TextImageRelation Infrastructure. This property is not relevant to this class. (Inherited from ToolStripControlHost.)
Public property TextLength Gets the length of text in the control.
Public property ToolTipText Gets or sets the text that appears as a ToolTip for a control. (Inherited from ToolStripItem.)
Public property Visible Gets or sets a value indicating whether the item is displayed. (Inherited from ToolStripItem.)
Public property Width Gets or sets the width in pixels of a ToolStripItem. (Inherited from ToolStripItem.)
Public property WordWrap This property is not relevant to this class.
Top
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.