Skip to main content

CustomDrawEventArgs Class

Namespace: DevExpress.XtraGrid.Views.Base

Assembly: DevExpress.XtraGrid.v24.2.dll

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