System.Windows.Forms.ControlBindingsCollection.RemoveAt(int)

Here are the examples of the csharp api class System.Windows.Forms.ControlBindingsCollection.RemoveAt(int) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

1 Example 7

1. Example

View license
void RemoveControlBindings(Control parentControl)
        {
            foreach (Control ctrl in parentControl.Controls)
            {
                if (ctrl.Controls.Count > 0)
                    RemoveControlBindings(ctrl);

                while (ctrl.DataBindings.Count > 0)
                {
                    ctrl.DataBindings.RemoveAt(0);
                }
            }
        }