Spread Windows Forms 12.0 Product Documentation
TextStyle Property (ProgressCellType)

FarPoint.Win.Spread Assembly > FarPoint.Win.Spread.CellType Namespace > ProgressCellType Class : TextStyle Property
Gets or sets how the text portion of the progress indicator is displayed.
Public Property TextStyle As ProgressTextStyle
Dim instance As ProgressCellType
Dim value As ProgressTextStyle
instance.TextStyle = value
value = instance.TextStyle
public ProgressTextStyle TextStyle {get; set;}

Property Value

ProgressTextStyle setting that determines the type of text
This property determines what type of text is displayed in the progress indicator, whether numerical or text.
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
See Also


ProgressCellType Class
ProgressCellType Members