Creates a System.Windows.Forms.Binding using the specified control property name, data source, and data member, and adds it to the collection.
- propertyName
The name of the control property to bind.
- dataSource
An object that represents the data source.
- dataMember
The property or list to bind to.
![]()
The newly created System.Windows.Forms.Binding.
The Binding.DataSourceUpdateMode property of the System.Windows.Forms.Binding created by this overload of the ControlBindingsCollection.Add(string, object, string) method is set to the value of the ControlBindingsCollection.DefaultDataSourceUpdateMode property.
Adding a System.Windows.Forms.Binding causes the BindingsCollection.CollectionChanged event to occur.