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

CustomDrawEventArgs Class

Namespace: DevExpress.XtraGrid.Views.Base

Assembly: DevExpress.XtraGrid.v24.2.dll

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

#Declaration

public class CustomDrawEventArgs :
    EventArgs,
    IDxHtmlFieldValueProvider

#Remarks

The CustomDrawEventArgs class provides common information required to custom paint a View element. This information includes the element’s bounding rectangle, style and the object providing painting facilities. Additionally, the class introduces the CustomDrawEventArgs.Handled property that specifies whether default painting is required after event handler execution. Refer to the Custom Painting Basics help topic for details.

Note that you may need to determine the group panel’s text when handling the GridView.CustomDrawGroupPanel event. Use the GridView.GroupPanelText property to obtain it.

See Also