1 implementation of ISupportToolStripPanel
System.Windows.Forms (1)
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (1)
25public partial class ToolStrip : ScrollableControl, IArrangedElement, ISupportToolStripPanel
34 references to ISupportToolStripPanel
System.Windows.Forms (34)
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (6)
1395internal ToolStripPanelCell? ToolStripPanelCell => ((ISupportToolStripPanel)this).ToolStripPanelCell; 1397internal ToolStripPanelRow? ToolStripPanelRow => ((ISupportToolStripPanel)this).ToolStripPanelRow; 1400ToolStripPanelCell? ISupportToolStripPanel.ToolStripPanelCell 1414ToolStripPanelRow? ISupportToolStripPanel.ToolStripPanelRow 1727void ISupportToolStripPanel.BeginDrag() => OnBeginDrag(EventArgs.Empty); 2004void ISupportToolStripPanel.EndDrag()
System\Windows\Forms\Controls\ToolStrips\ToolStripGrip.cs (3)
52((ISupportToolStripPanel)ParentInternal).BeginDrag(); 56((ISupportToolStripPanel)ParentInternal).EndDrag(); 66return (ParentInternal is null) ? null : ((ISupportToolStripPanel)ParentInternal).ToolStripPanelRow;
System\Windows\Forms\Controls\ToolStrips\ToolStripManager.cs (2)
590ISupportToolStripPanel draggedItem = (ISupportToolStripPanel)draggedControl;
System\Windows\Forms\Controls\ToolStrips\ToolStripPanel.cs (12)
472if (e.Control is ISupportToolStripPanel controlToBeDragged) 484if (e.AffectedComponent is ISupportToolStripPanel draggedControl && RowsInternal.Contains(draggedControl.ToolStripPanelRow!)) 626if (controlArray[i] is ISupportToolStripPanel draggedControl 780if (toolStripToDrag is not ISupportToolStripPanel) 800ISupportToolStripPanel draggedControl = toolStripToDrag; 1004ISupportToolStripPanel draggedControl = toolStripToDrag; 1062ToolStripPanelRow? currentlyAssignedRow = ((ISupportToolStripPanel)cell.Control).ToolStripPanelRow; 1101ISupportToolStripPanel draggedToolStrip1 = (c1 as ISupportToolStripPanel)!; 1102ISupportToolStripPanel draggedToolStrip2 = (c2 as ISupportToolStripPanel)!; 1104static object GetRow(ISupportToolStripPanel draggedToolStrip, ToolStripPanelRowCollection rows)
System\Windows\Forms\Controls\ToolStrips\ToolStripPanelCell.cs (2)
88public ISupportToolStripPanel DraggedControl 265ISupportToolStripPanel draggedControl = DraggedControl;
System\Windows\Forms\Controls\ToolStrips\ToolStripPanelRow.cs (2)
296if (control is ISupportToolStripPanel controlToBeDragged) 325if (control is ISupportToolStripPanel controlToBeDragged && controlToBeDragged.ToolStripPanelRow == this)
System\Windows\Forms\Controls\ToolStrips\ToolStripPanelRow.HorizontalRowManager.cs (1)
528ISupportToolStripPanel ctg = toolStripToDrag;
System\Windows\Forms\Controls\ToolStrips\ToolStripPanelRow.ToolStripPanelRowControlCollection.cs (3)
76if (value is not ISupportToolStripPanel control) 208if (value is not ISupportToolStripPanel control) 233private void OnAdd(ISupportToolStripPanel controlToBeDragged, int index)
System\Windows\Forms\Controls\ToolStrips\ToolStripPanelRow.ToolStripPanelRowManager.cs (2)
21if (toolStripToDrag is ISupportToolStripPanel toolStripToDragAsRaftingControl && toolStripToDragAsRaftingControl.Stretch) 28if (control is ISupportToolStripPanel controlAsRaftingControl && controlAsRaftingControl.Stretch)
System\Windows\Forms\Controls\ToolStrips\ToolStripPanelRow.VerticalRowManager.cs (1)
538ISupportToolStripPanel ctg = toolStripToDrag;