Click or drag to resize
CalculationWorks Logo
BcfDataSetUndoRepository Class
Dataset behavior item that stores undo and redo information.
Inheritance Hierarchy
SystemObject
  CalculationWorks.BusinessModel.BehaviorsBcfDataSetBehaviorItemBase
    CalculationWorks.BusinessModel.BehaviorsBcfDataSetUndoRepository

Namespace: CalculationWorks.BusinessModel.Behaviors
Assembly: CalculationWorks.BusinessModel (in CalculationWorks.BusinessModel.dll) Version: 3.0.2.0
Syntax
public class BcfDataSetUndoRepository : BcfDataSetBehaviorItemBase

The BcfDataSetUndoRepository type exposes the following members.

Constructors
  NameDescription
Public methodBcfDataSetUndoRepository
Initializes a new instance of the BcfDataSetUndoRepository class.
Top
Properties
  NameDescription
Public propertyDataSet
Gets the BcfDataSet the behavior item belongs to.
(Inherited from BcfDataSetBehaviorItemBase.)
Public propertyMaxItems
Gets or sets the maximum item count for undo and redo stack.
Public propertyRedoItemCount
Gets the redo-stack item count.
Public propertyRedoStack
Gets the redo stack.
Public propertyUndoItemCount
Gets the undo-stack item count.
Public propertyUndoStack
Gets the undo stack.
Top
Methods
  NameDescription
Public methodCanRedo
Determines whether items for redo exists.
Public methodCanUndo
Determines whether items for undo exists.
Public methodClearRedo
Clears the RedoStack.
Public methodClearUndo
Clears the UndoStack.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodOnDiscard
Called when the BcfDataSet is disposed and DataSet.Behavior.CleanupOptions.Cleanup is set to true.
(Overrides BcfDataSetBehaviorItemBaseOnDiscard.)
Protected methodPopRedo
Removes and returns the last added BcfTransaction from the RedoStack
Protected methodPopUndo
Removes and returns the last added BcfTransaction from the UndoStack
Protected methodPushRedo
Pushes a BcfTransaction on the RedoStack.
Protected methodPushUndo
Pushes a BcfTransaction on the UndoStack.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Version Information

CalculationWorks.BusinessModel

Supported in: 3.0, 2.1, 2.0
See Also