Visual Basic (Declaration) | |
---|---|
Public Property TextStyle As ProgressTextStyle |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As ProgressCellType Dim value As ProgressTextStyle instance.TextStyle = value value = instance.TextStyle |
C# | |
---|---|
public ProgressTextStyle TextStyle {get; set;} |
Property Value
ProgressTextStyle setting that determines the type of textThis 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.
C# | Copy Code |
---|---|
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; |
Visual Basic | Copy Code |
---|---|
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 |
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