Skip to main content
A newer version of this page is available. .

LayoutGroup.CustomDrawCaption Event

Allows you to custom paint the group’s caption.

Namespace: DevExpress.XtraLayout

Assembly: DevExpress.XtraLayout.v18.2.dll

Declaration

[DXCategory("CustomDraw")]
public event EventHandler<GroupCaptionCustomDrawEventArgs> CustomDrawCaption

Event Data

The CustomDrawCaption event's data class is GroupCaptionCustomDrawEventArgs. The following properties provide information specific to this event:

Property Description
CaptionBounds Gets the painted caption’s bounding rectangle.
Info Gets information on the painted group.

The event data class exposes the following methods:

Method Description
DefaultDraw() Performs default painting of this element.

Remarks

See the LayoutControl.CustomDraw topic to learn more.

See Also