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

TdxBarItemControl.Paint(TcxCanvas,TRect,TdxBarPaintType) Method

In This Article

Draws a bar item control.

#Declaration

Delphi
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