Skip to main content

IRangeControlClient.Calculate(Rectangle) Method

This method is fired when the RangeControl’s state, size or settings are changed.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.Data.v22.2.dll

NuGet Package: DevExpress.Data


void Calculate(
    Rectangle contentRect


Name Type Description
contentRect Rectangle

A Rectangle that specifies the bounds of the Range Control’s viewport.


You can handle this method to perform calculation of custom visual element positions before painting these elements via the IRangeControlClient.DrawContent method.

See Also