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)
1393internal ToolStripPanelCell? ToolStripPanelCell => ((ISupportToolStripPanel)this).ToolStripPanelCell; 1395internal ToolStripPanelRow? ToolStripPanelRow => ((ISupportToolStripPanel)this).ToolStripPanelRow; 1398ToolStripPanelCell? ISupportToolStripPanel.ToolStripPanelCell 1412ToolStripPanelRow? ISupportToolStripPanel.ToolStripPanelRow 1725void ISupportToolStripPanel.BeginDrag() => OnBeginDrag(EventArgs.Empty); 2002void 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 772if (toolStripToDrag is not ISupportToolStripPanel) 792ISupportToolStripPanel draggedControl = toolStripToDrag; 996ISupportToolStripPanel draggedControl = toolStripToDrag; 1054ToolStripPanelRow? currentlyAssignedRow = ((ISupportToolStripPanel)cell.Control).ToolStripPanelRow; 1093ISupportToolStripPanel draggedToolStrip1 = (c1 as ISupportToolStripPanel)!; 1094ISupportToolStripPanel draggedToolStrip2 = (c2 as ISupportToolStripPanel)!; 1096static 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;