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

BandHeaderCustomDrawEventArgs Class

Provides data for the BandedGridView.CustomDrawBandHeader event.

Namespace: DevExpress.XtraGrid.Views.BandedGrid

Assembly: DevExpress.XtraGrid.v24.2.dll

NuGet Packages: DevExpress.Win.Grid, DevExpress.Win.Navigation

#Declaration

public class BandHeaderCustomDrawEventArgs :
    CustomDrawObjectEventArgs

#Remarks

The BandedGridView.CustomDrawBandHeader event fires before a band header is painted. It enables you to paint band headers manually or modify their appearance settings before they are painted using the default mechanism. BandHeaderCustomDrawEventArgs class properties allow you to identify the band whose header is being painted and provide settings common to all custom painting events. Refer to the Custom Painting Basics help topic for details.

#Inheritance

See Also