Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxSpreadSheetHistory.MaxActionCount Property

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

#Declaration

Delphi
property MaxActionCount: Integer read; write;

#Property Value

Type
Integer

#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 MaxActionCount 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

A spreadsheet control’s OptionsBehavior.HistoryMaxActionCount property maps to the MaxActionCount property.

The MaxActionCount property’s default value is 0.

See Also