Gets or sets the BindingContext for the control.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
[<BrowsableAttribute(false)>] abstract BindingContext : BindingContext with get, set [<BrowsableAttribute(false)>] override BindingContext : BindingContext with get, set
The BindingContext of a Control is used to return a single BindingManagerBase for all data-bound controls contained by the Control. The BindingManagerBase keeps all controls that are bound to the same data source synchronized. For example, setting the Position property of the BindingManagerBase specifies the item in the underlying list that all data-bound controls point to.Notes to Inheritors
When overriding the property in a derived class, use the base class's property to extend the base implementation. Otherwise, you must provide all the implementation. You are not required to override both the get and set accessors of the property; you can override only one if needed.
The following code example creates four Binding objects to bind five controls, a DateTimePicker and four TextBox controls, to several data sources. The BindingContext is then used to get the BindingManagerBase for each data source.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.