BindingCompleteEventArgs::Binding Property
.NET Framework (current version)
Gets the binding associated with this occurrence of a BindingComplete event.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Property Value
Type: System.Windows.Forms::Binding^The Binding associated with this BindingCompleteEventArgs.
The Binding might also be associated with the BindingComplete event of a BindingSource or of a class that inherits from BindingManagerBase.
The following code example demonstrates how to handle the BindingComplete event and use the BindingCompleteEventArgs to ensure multiple controls bound to the same data source remain synchronized when one of the control values is changed. To run this example, paste the code into a Windows Form and call the InitializeControlsAndData method from the form's constructor or Load event-handling method.
.NET Framework
Available since 2.0
Available since 2.0
Show: