Spread Windows Forms 12.0 Product Documentation
Style Property (ProgressCellType)
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread.CellType Namespace > ProgressCellType Class : Style Property
Gets or sets the display type of the progress indicator.
Syntax
'Declaration
 
Public Property Style As ProgressStyle
'Usage
 
Dim instance As ProgressCellType
Dim value As ProgressStyle
 
instance.Style = value
 
value = instance.Style
public ProgressStyle Style {get; set;}

Property Value

ProgressStyle setting that determines the style of the display of the progress indicator
Example
This example sets the style of the progress indicator.
FarPoint.Win.Spread.CellType.ProgressCellType progress =new FarPoint.Win.Spread.CellType.ProgressCellType();

        progress.Style = FarPoint.Win.ProgressStyle.Bars;
        progress.FillColor = Color.Coral;
        progress.FillTextColor = Color.DarkGreen;
        progress.Minimum = 0;
        progress.Maximum = 100;
        progress.Orientation = FarPoint.Win.ProgressOrientation.LeftToRight;
        fpSpread1.Sheets[0].Cells[0, 0].CellType = progress;
        fpSpread1.Sheets[0].Cells[0, 0].Value = "50";
Dim progress As New FarPoint.Win.Spread.CellType.ProgressCellType()

        progress.Style = FarPoint.Win.ProgressStyle.Bars
        progress.FillColor = Color.Coral
        progress.FillTextColor = Color.DarkGreen
        progress.Minimum = 0
        progress.Maximum = 100
        progress.Orientation = FarPoint.Win.ProgressOrientation.LeftToRight
        FpSpread1.Sheets(0).Cells(0, 0).CellType = progress
        FpSpread1.Sheets(0).Cells(0, 0).Value = "50"
See Also

Reference

ProgressCellType Class
ProgressCellType Members