Rediger

Del via


DataGridViewBindingCompleteEventHandler Delegate

Definition

Represents the method that will handle the DataBindingComplete event of a DataGridView.

public delegate void DataGridViewBindingCompleteEventHandler(System::Object ^ sender, DataGridViewBindingCompleteEventArgs ^ e);
public delegate void DataGridViewBindingCompleteEventHandler(object sender, DataGridViewBindingCompleteEventArgs e);
public delegate void DataGridViewBindingCompleteEventHandler(object? sender, DataGridViewBindingCompleteEventArgs e);
type DataGridViewBindingCompleteEventHandler = delegate of obj * DataGridViewBindingCompleteEventArgs -> unit
Public Delegate Sub DataGridViewBindingCompleteEventHandler(sender As Object, e As DataGridViewBindingCompleteEventArgs)

Parameters

sender
Object

The source of the event.

Remarks

The DataBindingComplete event is raised when the contents of the data source change or when the value of the DataSource, DataMember, or BindingContext property of the DataGridView control changes.

When you create a DataGridViewBindingCompleteEventHandler delegate, you identify the method that will handle the event. To associate the event with your event handler, add an instance of the delegate to the event. The event handler is called whenever the event occurs, unless you remove the delegate. For more information about event-handler delegates, see Handling and Raising Events.

Extension Methods

GetMethodInfo(Delegate)

Gets an object that represents the method represented by the specified delegate.

Applies to

See also