System.Windows.Forms.ToolStripTextBox.TextLength Property

Gets the length of text in the control.

Syntax

[System.ComponentModel.Browsable(false)]
public int TextLength { get; }

Value

Documentation for this section has not yet been entered.

Remarks

You can use the ToolStripTextBox.TextLength property to determine the number of characters in a string for tasks such as searching for specific strings of text within the text of the control, where knowledge of the total number of characters is needed.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0