System.Windows.Forms.Control.BindingContext Property

Gets or sets the System.Windows.Forms.BindingContext for the control.

Syntax

[System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
[System.ComponentModel.Browsable(false)]
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)]
public virtual BindingContext BindingContext { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

The System.Windows.Forms.BindingContext of a System.Windows.Forms.Control is used to return a single System.Windows.Forms.BindingManagerBase for all data-bound controls contained by the System.Windows.Forms.Control. The System.Windows.Forms.BindingManagerBase keeps all controls that are bound to the same data source synchronized. For example, setting the BindingManagerBase.Position property of the System.Windows.Forms.BindingManagerBase specifies the item in the underlying list that all data-bound controls point to.

For more information about creating a new System.Windows.Forms.BindingContext and assigning it to the Control.BindingContext property, see the BindingContext.#ctor.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0