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.OnDrawContent Event

In This Article

Enables you to custom paint the range control.

#Declaration

Delphi
property OnDrawContent: TdxRangeControlClientDrawEvent read; write;

#Remarks

The Sender parameter specifies the range control that raised the OnDrawContent event.

The ACanvas parameter specifies the drawing surface.

The AViewInfo parameter is used to provide the data range selection and visualization model-related ViewInfo information (an instance of the TdxRangeControlCustomClientViewInfo class descendant).

The AHandled parameter specifies whether default painting is required. Passing True as the AHandled parameter in the OnDrawContent event handler prevents the default painting operation, allowing you to provide a custom painter for the range control.

See Also