Spread Windows Forms 15.0
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet Namespace / WorksheetBase Class / EnableCalculation Property


In This Topic
    EnableCalculation Property
    In This Topic
    Gets or sets a value indicating whether calculation engine automatically recalculates the worksheet when necessary.
    Syntax
    'Declaration
     
    
    Public Property EnableCalculation As Boolean
    'Usage
     
    
    Dim instance As WorksheetBase
    Dim value As Boolean
     
    instance.EnableCalculation = value
     
    value = instance.EnableCalculation
    public bool EnableCalculation {get; set;}

    Property Value

    true if calculation engine automatically recalculates the worksheet when necessary; otherwise, calculation engine doesn't recalculate the sheet.
    Remarks
    When the value of this property is false, you cannot request a recalculation. When you change the value from false to true, calculation engine recalculates the worksheet.
    See Also