Back to Devexpress

RowCellCustomDrawEventHandler Delegate

windowsforms-devexpress-dot-xtragrid-dot-views-dot-base-334d518f.md

latest2.3 KB
Original Source

RowCellCustomDrawEventHandler Delegate

Represents a method that will handle the GridView.CustomDrawCell, CardView.CustomDrawCardFieldCaption, CardView.CustomDrawCardField and CardView.CustomDrawCardFieldValue 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 RowCellCustomDrawEventHandler(
    object sender,
    RowCellCustomDrawEventArgs e
);
vb
Public Delegate Sub RowCellCustomDrawEventHandler(
    sender As Object,
    e As RowCellCustomDrawEventArgs
)

Parameters

NameTypeDescription
senderObject

The event source. Identifies the View that raised the event.

| | e | RowCellCustomDrawEventArgs |

A RowCellCustomDrawEventArgs object that contains event data.

|

Remarks

When creating a RowCellCustomDrawEventHandler 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