Spread ASP.NET 6.0 Product Documentation
Maximum Property
See Also  Example Send Feedback
FarPoint.Web.Spread.Extender Assembly > FarPoint.Web.Spread.Extender Namespace > NumericUpDownCellType Class : Maximum Property


Glossary Item Box

Gets or sets the maximum value for the numeric up-down cell.

Syntax

Visual Basic (Declaration) 
Public Property Maximum As Double
Visual Basic (Usage)Copy Code
Dim instance As NumericUpDownCellType
Dim value As Double
 
instance.Maximum = value
 
value = instance.Maximum
C# 
public double Maximum {get; set;}

Property Value

Double-precision, floating point number for the maximum number

Example

This example sets number limits.
C#Copy Code
FarPoint.Web.Spread.Extender.NumericUpDownCellType n = new FarPoint.Web.Spread.Extender.NumericUpDownCellType();
n.Maximum = 1000;
n.Minimum = 10;
n.Step = 5;
n.Width = 130;
n.ShowEditor = true;
FpSpread1.ActiveSheetView.Cells[0, 0].CellType = n;
Visual BasicCopy Code
Dim n As New FarPoint.Web.Spread.Extender.NumericUpDownCellType
n.Maximum = 1000
n.Minimum = 10
n.Step = 5
n.Width = 130
n.ShowEditor = True
FpSpread1.ActiveSheetView.Cells(0, 0).CellType = n

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.