IRangeControlClient.Calculate(Rectangle) Method

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

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.Data.v20.1.dll

Declaration

void Calculate(
    Rectangle contentRect
)
Sub Calculate(
    contentRect As Rectangle
)

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