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

Paints an item control.

#Declaration

Delphi
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