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

TdxSpreadSheetOptionsBehavior.HistoryMaxActionCount Property

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

#Declaration

Delphi
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