Spread Windows Forms 9.0 Product Documentation
Text Property (ProgressCellType)
Example 


Gets or sets the text string to use in the progress indicator when the text style is set to display custom text.
Syntax
'Declaration
 
Public Property Text As String
'Usage
 
Dim instance As ProgressCellType
Dim value As String
 
instance.Text = value
 
value = instance.Text
public string Text {get; set;}

Property Value

String containing the custom text
Remarks
This property determines the custom text to use when the TextStyle property is set to Custom.
Example
This example sets the text and text style for the cell.
FarPoint.Win.Spread.CellType.ProgressCellType progress = new FarPoint.Win.Spread.CellType.ProgressCellType();
progress.TextStyle =FarPoint.Win.ProgressTextStyle.PercentRemaining;
progress.Text ="This is the percent remaining.";
fpSpread1.Sheets[0].Cells[0, 0].CellType = progress;
Dim progress As New FarPoint.Win.Spread.CellType.ProgressCellType
progress.TextStyle = FarPoint.Win.ProgressTextStyle.PercentRemaining
progress.Text ="This is the percent remaining."
FpSpread1.Sheets(0).Cells(0, 0).CellType = progress
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

ProgressCellType Class
ProgressCellType Members

 

 


Copyright © GrapeCity, inc. All rights reserved.