Spread Windows Forms 7.0 Product Documentation
Minimum Property
See Also  Example Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread.CellType Namespace > ProgressCellType Class : Minimum Property


Glossary Item Box

Gets or sets the minimum value for user entry in the progress indicator.

Syntax

Visual Basic (Declaration) 
Public Property Minimum As Integer
Visual Basic (Usage)Copy Code
Dim instance As ProgressCellType
Dim value As Integer
 
instance.Minimum = value
 
value = instance.Minimum
C# 
public int Minimum {get; set;}

Property Value

Integer minimum value

Example

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

C#Copy Code
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";
Visual BasicCopy Code
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 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.