Spread ASP.NET 14
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / CurrencyCellType Class / MaximumValue Property
Example


In This Topic
    MaximumValue Property (CurrencyCellType)
    In This Topic
    Gets or sets the maximum value.
    Syntax
    'Declaration
     
    Public Property MaximumValue As Decimal
    'Usage
     
    Dim instance As CurrencyCellType
    Dim value As Decimal
     
    instance.MaximumValue = value
     
    value = instance.MaximumValue
    public decimal MaximumValue {get; set;}

    Property Value

    Decimal numeric maximum value
    Example
    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;
    
    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
    See Also