2 overrides of GetChildIndex
System.Windows.Forms.Design (2)
System\Windows\Forms\Design\ControlDesigner.DesignerControlCollection.cs (1)
62public override int GetChildIndex(Control child, bool throwException)
System\Windows\Forms\Design\TableLayoutPanelDesigner.cs (1)
2186public override int GetChildIndex(Control child, bool throwException) => _realCollection.GetChildIndex(child, throwException);
6 references to GetChildIndex
System.Windows.Forms (2)
System\Windows\Forms\Control.ControlCollection.cs (1)
397public int GetChildIndex(Control child) => GetChildIndex(child, true);
System\Windows\Forms\Control.cs (1)
10963newIndex = Controls.GetChildIndex(previousControl, throwException: false) + 1;
System.Windows.Forms.Design (4)
System\Windows\Forms\Design\Behavior\DropSourceBehavior.cs (1)
966_dragComponents[i].zorderIndex = primaryParent.Controls.GetChildIndex(dragControl, false /*throwException*/);
System\Windows\Forms\Design\ControlDesigner.DesignerControlCollection.cs (1)
63=> _realCollection.GetChildIndex(child, throwException);
System\Windows\Forms\Design\FlowLayoutPanelDesigner .cs (1)
623_insertionIndex = children.GetChildIndex(control, throwException: false);
System\Windows\Forms\Design\TableLayoutPanelDesigner.cs (1)
2186public override int GetChildIndex(Control child, bool throwException) => _realCollection.GetChildIndex(child, throwException);