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

BaseLayoutItem.CustomDraw Event

Allows you to custom paint the current item.

Namespace: DevExpress.XtraLayout

Assembly: DevExpress.XtraLayout.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

[DXCategory("CustomDraw")]
public virtual event EventHandler<ItemCustomDrawEventArgs> CustomDraw

#Event Data

The CustomDraw event's data class is DevExpress.XtraLayout.ItemCustomDrawEventArgs.

#Remarks

You can use the CustomDraw or LayoutControl.CustomDraw event to custom paint layout items. To learn more, see the LayoutControl.CustomDraw topic.

See Also