Skip to main content

TdxCustomRangeControl.OnDrawContent Event

Enables you to custom paint the range control.

Declaration

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