|
|
|
Text Property, CellBaseClass Class |
Defines the text of the first TextPartClass object found in the cell's parts collection.
Syntax CellBaseClass Class (Softelvdm.Controls)
VB |
Public Property Text As String |
C# |
public string Text { get; set; } |
C++ |
public: property String^ Text { |
Property Value
The text of the first TextPartClass object.
The default value is String.Empty.
Comments
The Text property defines the text of the first TextPartClass object found in the cell's parts collection.
If an application uses only one TextPartClass and one ImagePartClass object in each cell, it can access their contents directly using the Text and Image properties, instead of having to "remember" which object in the parts collection is the respective object. In addition, the TextPart and ImagePart properties are available to access these object.
When text is assigned to the Text property, a TextPartClass object is automatically added to the cell's parts collection, if one has not yet been added.
SftTabs/NET 6.0: Text parts may be dropped conditionally if there is insufficient space, based on the control's DropText property.
Version Information
Supported in version 1.0.
Products Table