Skip to main content

TdxBarItemControl.Paint(TcxCanvas,TRect,TdxBarPaintType) Method

Paints an item control.

Declaration

procedure Paint(ACanvas: TcxCanvas; ARect: TRect; PaintType: TdxBarPaintType);

Parameters

Name Type
ACanvas TcxCanvas
ARect TRect
PaintType TdxBarPaintType

Remarks

Descendants can override the DoPaint method, which is called by the Paint method to draw bar items that they represent on ACanvas.

ARect specifies the rectangle for drawing.

PaintType determines the item control drawing style: ptHorz specifies that the item control is in a horizontal position, ptVert specifies a vertical position, ptMenu specifies the item control is placed onto the menu.

See Also