Spread Windows Forms 7.0 Product Documentation
TextLength Property
See Also  Support Options
GrapeCity.Win.PluginInputMan Assembly > GrapeCity.Win.Spread.InputMan.CellType Namespace > EditBase Class : TextLength Property


Glossary Item Box

Gets the length of the text.

Syntax

Visual Basic (Declaration) 
Public Overridable ReadOnly Property TextLength As Integer
Visual Basic (Usage)Copy Code
Dim instance As EditBase
Dim value As Integer
 
value = instance.TextLength
C# 
public virtual int TextLength {get;}

Property Value

The number of characters contained in the text of the control.

Remarks

You can use this 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

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.