Spread for ASP.NET 11 Product Documentation
Maximum Property (NumericUpDownCellType)
Example 


FarPoint.Web.Spread.Extender Assembly > FarPoint.Web.Spread.Extender Namespace > NumericUpDownCellType Class : Maximum Property
Gets or sets the maximum value for the numeric up-down cell.
Syntax
'Declaration
 
Public Property Maximum As Double
'Usage
 
Dim instance As NumericUpDownCellType
Dim value As Double
 
instance.Maximum = value
 
value = instance.Maximum
public double Maximum {get; set;}

Property Value

Double-precision, floating point number for the maximum number
Example
This example sets number limits.
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;
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
See Also

Reference

NumericUpDownCellType Class
NumericUpDownCellType Members