Back to Devexpress

CustomDrawEventArgs Class

windowsforms-devexpress-dot-xtragrid-dot-views-dot-base-72e7d27b.md

latest4.0 KB
Original Source

CustomDrawEventArgs Class

Provides data for the GridView.CustomDrawGroupPanel and ColumnView.CustomDrawEmptyForeground events.

Namespace : DevExpress.XtraGrid.Views.Base

Assembly : DevExpress.XtraGrid.v25.2.dll

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

Declaration

csharp
public class CustomDrawEventArgs :
    EventArgs,
    IDxHtmlFieldValueProvider
vb
Public Class CustomDrawEventArgs
    Inherits EventArgs
    Implements IDxHtmlFieldValueProvider

CustomDrawEventArgs is the data class for the following events:

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.

Inheritance

Show 13 items

Object EventArgs CustomDrawEventArgs CustomDrawObjectEventArgs

RowCellCustomDrawEventArgs

CardCaptionCustomDrawEventArgs

RowIndicatorCustomDrawEventArgs

BandHeaderCustomDrawEventArgs

RowObjectCustomDrawEventArgs

RowPreviewCustomDrawEventArgs

ColumnHeaderCustomDrawEventArgs

RowCellObjectCustomDrawEventArgs

FooterCellCustomDrawEventArgs

See Also

CustomDrawEventArgs Members

CustomDrawGroupPanel

CustomDrawEmptyForeground

DevExpress.XtraGrid.Views.Base Namespace