Back to Devexpress

RowObjectCustomDrawEventHandler Delegate

windowsforms-devexpress-dot-xtragrid-dot-views-dot-base-e62aaa35.md

latest2.3 KB
Original Source

RowObjectCustomDrawEventHandler Delegate

Represents a method that will handle the GridView.CustomDrawFooter, GridView.CustomDrawRowFooter, GridView.CustomDrawGroupRow and GridView.CustomDrawRowPreview events.

Namespace : DevExpress.XtraGrid.Views.Base

Assembly : DevExpress.XtraGrid.v25.2.dll

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

Declaration

csharp
public delegate void RowObjectCustomDrawEventHandler(
    object sender,
    RowObjectCustomDrawEventArgs e
);
vb
Public Delegate Sub RowObjectCustomDrawEventHandler(
    sender As Object,
    e As RowObjectCustomDrawEventArgs
)

Parameters

NameTypeDescription
senderObject

The event source. Identifies the GridView object that raised the event.

| | e | RowObjectCustomDrawEventArgs |

A RowObjectCustomDrawEventArgs object that contains the event data.

|

Remarks

When creating a RowObjectCustomDrawEventHandler delegate, you identify the method that will handle the corresponding event. To associate an event with your event handler, add a delegate instance to this event. The event handler is called whenever the event occurs unless you remove the delegate. For more information on event handler delegates, see Events and Delegates in MSDN.

See Also

DevExpress.XtraGrid.Views.Base Namespace