Spread Windows Forms 10.0 Product Documentation
TextLength Property (EditBase)


Gets the length of the text.
Syntax
'Declaration
 
Public Overridable ReadOnly Property TextLength As Integer
'Usage
 
Dim instance As EditBase
Dim value As Integer
 
value = instance.TextLength
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 Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10

See Also

Reference

EditBase Class
EditBase Members
Text Property

 

 


Copyright © GrapeCity, inc. All rights reserved.