ControlBindingsCollection.Control Property


Gets the control that the collection belongs to.

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

public Control Control { get; }

Property Value

Type: System.Windows.Forms.Control

The Control that the collection belongs to.

The following code example prints information about the control that a ControlBindingsCollection belongs to.

private void GetControl(ControlBindingsCollection myBindings)
   Control c = myBindings.Control;

.NET Framework
Available since 1.1
Return to top