Spread WPF Documentation
GrapeCity.Windows.SpreadSheet.UI Namespace / SheetView Class / CanUserUndo Property
Example


In This Topic
    CanUserUndo Property (SheetView)
    In This Topic
    Gets or sets whether to allow the user to undo edit operations.
    Syntax
    'Declaration
     
    <DefaultValueAttribute(True)>
    Public Property CanUserUndo As Boolean
    'Usage
     
    Dim instance As SheetView
    Dim value As Boolean
     
    instance.CanUserUndo = value
     
    value = instance.CanUserUndo
    [DefaultValue(true)]
    public bool CanUserUndo {get; set;}
    Example
    This example uses the CanUserUndo property.
    GcSpreadSheet1.View.CanUserUndo = true;
    GcSpreadSheet1.View.CanUserZoom = true;
    GcSpreadSheet1.View.CanUserUndo = True
    GcSpreadSheet1.View.CanUserZoom = True
    See Also