Spread Windows Forms 6.0 Product Documentation
Text Property
See Also  Support Options
FarPoint.Win Assembly > FarPoint.Win Namespace > ElementStyle Class : Text Property


Glossary Item Box

Gets or sets the contents of the control as a string matching exactly what is displayed.

Syntax

Visual Basic (Declaration) 
Public Overridable Property Text As String
Visual Basic (Usage)Copy Code
Dim instance As ElementStyle
Dim value As String
 
instance.Text = value
 
value = instance.Text
C# 
public virtual string Text {get; set;}

Property Value

String containing the formatted value

Remarks

This property returns the formatted value as it is displayed in the control 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 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

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