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

TdxCustomRangeControl.BeginUpdate Method

In This Article

Disables repainting of the range control.

#Declaration

Delphi
procedure BeginUpdate;

#Remarks

Each time the range control’s content is changed (such as the data range selection, scale zooming and scrolling, data range selection and visualization model and its settings, etc.), the control initiates repainting to reflect these changes.

To improve the performance of a range control-based application, enclose the code that performs multiple modifications to the range control’s content within the BeginUpdate/EndUpdate procedure blocks.

The BeginUpdate procedure postpones updates. To apply the changes made, invoke the EndUpdate procedure. Ensure that every call to BeginUpdate is followed by a call to the EndUpdate procedure, even if an exception occurs.

See Also