Skip to main content

TcxGridChartPieDiagram.OnCustomDrawSeriesSite Event

Occurs every time a series site is about to be drawn.

Declaration

property OnCustomDrawSeriesSite: TcxGridChartPieDiagramSeriesSiteCustomDrawEvent read; write;

Remarks

The Sender parameter provides access to the pie diagram whose series site is about to be drawn.

ACanvas and AViewInfo parameters provide access to the canvas and ViewInfo of the grid control. The bounding rectangle of the series site’s area being painted can be obtained through the AViewInfo.Bounds property. The series whose site is being painted can be accessed through the AViewInfo.Series property.

As with other custom drawing events, the ADone parameter’s value is initially False.

See Also