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

CustomDrawEventArgs Class

Namespace: DevExpress.XtraGrid.Views.Base

Assembly: DevExpress.XtraGrid.v19.1.dll


public class CustomDrawEventArgs :


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