Input for WinForms | ComponentOne
C1.Win.Input.Base Namespace / ITextBoxBase Interface
Properties Methods Events

In This Topic
    ITextBoxBase Interface Members
    In This Topic

    The following tables list the members exposed by ITextBoxBase.

    Public Properties
     NameDescription
     PropertyGets 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.  
     PropertyGets a value indicating whether the user can undo the previous operation in a text box control.  
     PropertyGets or sets a value indicating whether the selected text in the text box control remains highlighted when the control loses focus.  
     PropertyGets or sets the lines of text in a text box control.  
     PropertyGets or sets the maximum number of characters the user can type or paste into the text box control.  
     PropertyGets or sets a value that indicates that the text box control has been modified by the user since the control was created or its contents were last set.  
     PropertyGets or sets a value indicating whether this is a multiline text box control.  
     PropertyGets the preferred height for a text box.  
     PropertyGets or sets a value indicating whether text in the text box is read-only.  
     PropertyGets or sets a value indicating the currently selected text in the control.  
     PropertyGets or sets the number of characters selected in the text box.  
     PropertyGets or sets the starting point of text selected in the text box.  
     PropertyGets or sets a value indicating whether the defined shortcuts are enabled.  
     PropertyGets or sets the current text in the text box.  
     PropertyGets the length of text in the control.  
     PropertyIndicates whether a multiline text box control automatically wraps words to the beginning of the next line when necessary.  
    Top
    Public Methods
     NameDescription
     MethodAppends text to the current text of a text box.  
     MethodClears all text from the text box control.  
     MethodClears information about the most recent operation from the undo buffer of the text box.  
     MethodCopies the current selection in the text box to the Clipboard.  
     MethodMoves the current selection in the text box to the Clipboard.  
     MethodSpecifies that the value of the SelectionLength property is zero so that no characters are selected in the control.  
     MethodRetrieves the character that is closest to the specified location within the control.  
     MethodRetrieves the index of the character nearest to the specified location.  
     MethodRetrieves the index of the first character of a given line.  
     MethodRetrieves the index of the first character of the current line.  
     MethodRetrieves the line number from the specified character position within the text of the control.  
     MethodRetrieves the location within the control at the specified character index.  
     MethodReplaces the current selection in the text box with the contents of the Clipboard.  
     MethodScrolls the contents of the control to the current caret position.  
     MethodSelects a range of text in the text box.  
     MethodSelects all text in the text box.  
     MethodUndoes the last edit operation in the text box.  
    Top
    Public Events
     NameDescription
     EventOccurs when the value of the AcceptsTab property has changed.  
     EventOccurs when the text box is clicked.  
     EventOccurs when the value of the HideSelection property has changed.  
     EventOccurs when the value of the Modified property has changed.  
     EventOccurs when the value of the Multiline property has changed.  
     EventOccurs when the value of the ReadOnly property has changed.  
    Top
    See Also