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.v24.2.dll

NuGet Package: DevExpress.Data

#Declaration

void Calculate(
    Rectangle contentRect
)

#Parameters

Name Type Description
contentRect Rectangle

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

#Remarks

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

See Also