Spread WPF 14
GrapeCity.Windows.SpreadSheet.UI Namespace / GcSpreadSheet Class / AutoRefresh Property
Example


In This Topic
    AutoRefresh Property (GcSpreadSheet)
    In This Topic
    Gets or sets whether the SpreadSheet can auto-refresh itself.
    Syntax
    'Declaration
     
    <BrowsableAttribute(False)>
    <DefaultValueAttribute(True)>
    Public Property AutoRefresh As Boolean
    'Usage
     
    Dim instance As GcSpreadSheet
    Dim value As Boolean
     
    instance.AutoRefresh = value
     
    value = instance.AutoRefresh
    [Browsable(false)]
    [DefaultValue(true)]
    public bool AutoRefresh {get; set;}
    Example
    This example sets the AutoRefresh property.
    gcSpreadSheet1.AutoRecalculation = true;
    gcSpreadSheet1.AutoRefresh = true;
    gcSpreadSheet1.CanEditOverflow = true;
    GcSpreadSheet1.AutoRecalculation = True
    GcSpreadSheet1.AutoRefresh = True
    GcSpreadSheet1.CanEditOverflow = True
    See Also