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

TdxSpreadSheetCustomView.InvalidateRect(TRect) Method

Invalidates a specified portion within the Spreadsheet control‘s View area.

#Declaration

Delphi
procedure InvalidateRect(const R: TRect); virtual;

#Parameters

Name Type
R TRect

#Remarks

Call this procedure in order to repaint a rectangular area, passed as the R parameter, within the current worksheet. There is no performance penalty for calling the InvalidateRect procedure multiple times before the Spreadsheet control is actually repainted.

Note

To force repainting of the entire Spreadsheet control’s View area, invoke the Invalidate procedure.

See Also