ToolStripTextBox::TextLength Property
.NET Framework (current version)
Gets the length of text in the control.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Property Value
Type: System::Int32The number of characters contained in the text of the ToolStripTextBox.
You can use the 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.
.NET Framework
Available since 2.0
Available since 2.0
Show: