Back to Devexpress

BaseLayoutItem.CustomDraw Event

windowsforms-devexpress-dot-xtralayout-dot-baselayoutitem-da112bcb.md

latest1.6 KB
Original Source

BaseLayoutItem.CustomDraw Event

Allows you to custom paint the current item.

Namespace : DevExpress.XtraLayout

Assembly : DevExpress.XtraLayout.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DXCategory("CustomDraw")]
public virtual event EventHandler<ItemCustomDrawEventArgs> CustomDraw
vb
<DXCategory("CustomDraw")>
Public Overridable Event CustomDraw As EventHandler(Of ItemCustomDrawEventArgs)

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

CustomDraw

CustomDrawBackground

CustomDrawCaption

BaseLayoutItem Class

BaseLayoutItem Members

DevExpress.XtraLayout Namespace