Spread Windows Forms 10.0 Product Documentation
FillColor Property (ProgressCellType)
Example 


Gets or sets the color for the filled part of the progress indicator.
Syntax
'Declaration
 
Public Property FillColor As Color
'Usage
 
Dim instance As ProgressCellType
Dim value As Color
 
instance.FillColor = value
 
value = instance.FillColor
public Color FillColor {get; set;}

Property Value

Color object containing the color for the fill area
Example

This example creates a progress indicator cell and sets several of the available properties.

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"
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.