Back to Devexpress

BeforeFillEventHandler Delegate

corelibraries-devexpress-dot-dataaccess-dot-objectbinding-e50a729a.md

latest1.9 KB
Original Source

BeforeFillEventHandler Delegate

A method that will handle the ObjectDataSource.BeforeFill and ObjectDataSource.BeforeFillGlobal events.

Namespace : DevExpress.DataAccess.ObjectBinding

Assembly : DevExpress.DataAccess.v25.2.dll

NuGet Package : DevExpress.DataAccess

Declaration

csharp
public delegate void BeforeFillEventHandler(
    object sender,
    BeforeFillEventArgs args
);
vb
Public Delegate Sub BeforeFillEventHandler(
    sender As Object,
    args As BeforeFillEventArgs
)

Parameters

NameTypeDescription
senderObject

The event sender.

| | args | BeforeFillEventArgs |

A BeforeFillEventArgs object that contains data related to the event.

|

Remarks

When creating a BeforeFillEventHandler delegate, identify a method that will handle corresponding events.

To associate an event with an event handler, add a delegate instance to the event.

The event handler is called whenever the event occurs, unless the delegate is removed.

To learn more, see the Events and Delegates topic in MSDN.

See Also

DevExpress.DataAccess.ObjectBinding Namespace