Spread for ASP.NET 7.0 Product Documentation
Maximum Property
See Also  Example Support Options
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 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.