Binding.BindingManagerBase Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets the BindingManagerBase for this Binding.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public BindingManagerBase BindingManagerBase { get; }

Property Value

Type: System.Windows.Forms.BindingManagerBase

The BindingManagerBase that manages this Binding.

Use the BindingManagerBase to iterate through a data-bound list by incrementing or decrementing the Position property. The BindingManagerBase class is abstract. The CurrencyManager class, which manages data-bound lists, inherits from the BindingManagerBase class.

The following code example gets the BindingManagerBase of every Binding on the form, and prints the Position property for each BindingManagerBase.

private void PrintPositions()
   foreach(Control c in this.Controls)
      foreach(Binding xBinding in c.DataBindings)
         (c.ToString() + "\t Position: " + 

.NET Framework
Available since 1.1
Return to top