Spread for ASP.NET 7.0 Product Documentation
MaximumValue Property
See Also  Example Support Options
FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > CurrencyCellType Class : MaximumValue Property


Glossary Item Box

Gets or sets the maximum value.

Syntax

Visual Basic (Declaration) 
Public Property MaximumValue As Decimal
Visual Basic (Usage)Copy Code
Dim instance As CurrencyCellType
Dim value As Decimal
 
instance.MaximumValue = value
 
value = instance.MaximumValue
C# 
public decimal MaximumValue {get; set;}

Property Value

Decimal numeric maximum value

Example

C#Copy Code
FarPoint.Web.Spread.CurrencyCellType c = new FarPoint.Web.Spread.CurrencyCellType(0.05, 300.5, "You must use numbers!!");
c.MaximumValue = 3000000;
c.MinimumValue = 0.05;
c.ErrorMessage = "You must use numbers!!";
FpSpread1.ActiveSheetView.Cells[0, 0].CellType = c;
Visual BasicCopy Code
Dim c As New FarPoint.Web.Spread.CurrencyCellType
c.MaximumValue = 3000000
c.MinimumValue = 0.05
c.ErrorMessage = "You must use numbers!!"
FpSpread1.ActiveSheetView.Cells(0, 0).CellType = c

Requirements

Target Platforms: Windows 7, Windows 8, Windows Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6

See Also

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