Spread ASP.NET 6.0 Product Documentation
MaximumValue Property
See Also  Example Send Feedback
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 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2002-2012 GrapeCity, Inc. All Rights Reserved.