Skip to main content

TdxSpreadSheetOptionsBehavior.HistoryMaxActionCount Property

Specifies the maximum number of actions recorded in undo and redo lists.

Declaration

property HistoryMaxActionCount: Integer read; write; default 0;

Property Value

Type Default
Integer 0

Remarks

Every time the opened document’s content changes, the spreadsheet control records the corresponding history action to reflect the change. This can result in result in significant memory consumption in case of very large series of document changes. For instance, when you populate large cell ranges or customize their styles programmatically.

Assign a positive value to the HistoryMaxActionCount property to limit the maximum number of actions that a user can undo and redo. If this property is set to 0, the UndoActions and RedoActions lists have no maximum size limit.

Note

The HistoryMaxActionCount property maps to a spreadsheet control’s History.MaxActionCount property.

The HistoryMaxActionCount property’s default value is 0.

See Also