Spread Windows Forms 9.0 Product Documentation
Text Property (ElementWindowless)


Gets or sets the text for the element.
Syntax
'Declaration
 
Public Overridable Property Text As String
'Usage
 
Dim instance As ElementWindowless
Dim value As String
 
instance.Text = value
 
value = instance.Text
public virtual string Text {get; set;}

Property Value

String containing the text
Remarks

The Text property returns the value as it is displayed in the element as a string. For example, if the value is displayed with formatting characters such as a thousands separator or dollar sign, the value of the Text property includes these characters and symbols.

Note: For the controls derived from the SuperEditBase class, to return a value without formatting characters, use the Value property.

Specify the orientation of text by setting the TextOrientation property, as applicable. Specify whether text can wrap onto multiple lines by setting the TextWrap property, as applicable.

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

ElementWindowless Class
ElementWindowless Members
SuperEditBase Class
Value Property
TextOrientation Property
TextWrap Property

 

 


Copyright © GrapeCity, inc. All rights reserved.