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