Spread Windows Forms 13.0 Product Documentation
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / SpreadView Class / AllowUndo Property

In This Topic
    AllowUndo Property (SpreadView)
    In This Topic
    Gets or sets whether to allow the user to undo edit operations.
    Public Property AllowUndo As Boolean
    Dim instance As SpreadView
    Dim value As Boolean
    instance.AllowUndo = value
    value = instance.AllowUndo
    public bool AllowUndo {get; set;}

    Property Value

    Boolean: true to allow the user to perform undo actions; false otherwise
    This example sets the AllowUndo property.
    FarPoint.Win.Spread.SpreadView sv = fpSpread1.GetRootWorkbook();
    sv.AllowSheetMove = true;
    sv.AllowUndo = true;
    sv.Sheets.Count = 3;
    Dim sv As FarPoint.Win.Spread.SpreadView = FpSpread1.GetRootWorkbook
    sv.AllowSheetMove = True
    sv.AllowUndo = True
    sv.Sheets.Count = 3
    See Also