Skip to main content

TdxBarItemControl.Paint(TcxCanvas,TRect,TdxBarPaintType) Method

Draws a bar item control.

Declaration

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

Parameters

Name Type Description
ACanvas TcxCanvas

The target canvas.

ARect TRect

The bar item control’s bounding rectangle.

PaintType TdxBarPaintType

The bar item layout that depends on the required position:

ptHorz
The bar item belongs to a horizontally-arranged item group.
ptVert
The bar item belongs to a vertically-arranged item group.
ptMenu
The bar item belongs to a menu.
See Also