DataGridView.OnDataBindingComplete(DataGridViewBindingCompleteEventArgs) DataGridView.OnDataBindingComplete(DataGridViewBindingCompleteEventArgs) DataGridView.OnDataBindingComplete(DataGridViewBindingCompleteEventArgs) DataGridView.OnDataBindingComplete(DataGridViewBindingCompleteEventArgs) Method

定义

引发 DataBindingComplete 事件。Raises the DataBindingComplete event.

protected:
 virtual void OnDataBindingComplete(System::Windows::Forms::DataGridViewBindingCompleteEventArgs ^ e);
protected virtual void OnDataBindingComplete (System.Windows.Forms.DataGridViewBindingCompleteEventArgs e);
abstract member OnDataBindingComplete : System.Windows.Forms.DataGridViewBindingCompleteEventArgs -> unit
override this.OnDataBindingComplete : System.Windows.Forms.DataGridViewBindingCompleteEventArgs -> unit
Protected Overridable Sub OnDataBindingComplete (e As DataGridViewBindingCompleteEventArgs)

参数

注解

当使用中的数据发生更改CurrencyManager时,将发生绑定操作。Binding operations occur when the data changes while a CurrencyManager is in use. 例如,如果ListChanged发生事件DataGridView ,则会更新DataBindingComplete其视图,并在事件完成后引发事件。For example, if a ListChanged event occurs, the DataGridView will update its view and raise the DataBindingComplete event when it is finished.

适用于

另请参阅