CustomDrawEventArgs Class

Namespace: DevExpress.XtraGrid.Views.Base

Assembly: DevExpress.XtraGrid.v20.1.dll

Declaration

public class CustomDrawEventArgs :
    EventArgs
Public Class CustomDrawEventArgs
    Inherits EventArgs

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