6 instantiations of ToolStripPanelRow
System.Windows.Forms (2)
System\Windows\Forms\Controls\ToolStrips\ToolStripPanel.cs (2)
901
row = new
ToolStripPanelRow
(this);
920
row = new
ToolStripPanelRow
(this);
System.Windows.Forms.Tests (4)
System\Windows\Forms\ToolStripPanel.ToolStripPanelRowCollectionTests.cs (4)
46
using ToolStripPanelRow toolStripPanelRow1 =
new
(_toolStripPanel);
184
ToolStripPanelRow row2 =
new
(_toolStripPanel);
317
ToolStripPanelRow row =
new
(panel);
327
rows[i] = new
ToolStripPanelRow
(panel);
68 references to ToolStripPanelRow
System.Windows.Forms (43)
System\Windows\Forms\Controls\ToolStrips\ISupportToolStripPanel.cs (1)
8
ToolStripPanelRow
? ToolStripPanelRow { get; set; }
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (3)
1395
internal
ToolStripPanelRow
? ToolStripPanelRow => ((ISupportToolStripPanel)this).ToolStripPanelRow;
1412
ToolStripPanelRow
? ISupportToolStripPanel.ToolStripPanelRow
1417
ToolStripPanelRow
? oldToolStripPanelRow = ToolStripPanelRow;
System\Windows\Forms\Controls\ToolStrips\ToolStripGrip.cs (1)
62
private
ToolStripPanelRow
? ToolStripPanelRow
System\Windows\Forms\Controls\ToolStrips\ToolStripPanel.cs (13)
205
foreach (
ToolStripPanelRow
row in RowsInternal)
286
public
ToolStripPanelRow
[] Rows
290
ToolStripPanelRow
[] rows = new
ToolStripPanelRow
[RowsInternal.Count];
524
foreach (
ToolStripPanelRow
row in RowsInternal)
630
ToolStripPanelRow
row = draggedControl.ToolStripPanelRow;
823
ToolStripPanelRow
? currentToolStripPanelRow = draggedControl.ToolStripPanelRow;
852
ToolStripPanelRow
? row = PointToRow(clientLocation);
870
ToolStripPanelRow
? previousRow = null;
1013
public
ToolStripPanelRow
? PointToRow(Point clientLocation)
1017
foreach (
ToolStripPanelRow
row in RowsInternal)
1049
ToolStripPanelRow
row = RowsInternal[i];
1054
ToolStripPanelRow
? currentlyAssignedRow = ((ISupportToolStripPanel)cell.Control).ToolStripPanelRow;
System\Windows\Forms\Controls\ToolStrips\ToolStripPanel.ToolStripPanelRowCollection.cs (15)
22
public ToolStripPanelRowCollection(ToolStripPanel owner,
ToolStripPanelRow
[] value)
31
public new virtual
ToolStripPanelRow
this[int index]
35
return (
ToolStripPanelRow
)(InnerList[index]);
39
public int Add(
ToolStripPanelRow
value)
48
public void AddRange(params
ToolStripPanelRow
[] value)
89
public bool Contains(
ToolStripPanelRow
value)
116
void IList.Remove(object? value) { Remove((
ToolStripPanelRow
)value!); }
117
int IList.Add(object? value) { return Add((
ToolStripPanelRow
)value!); }
118
int IList.IndexOf(object? value) { return IndexOf((
ToolStripPanelRow
)value!); }
119
void IList.Insert(int index, object? value) { Insert(index, (
ToolStripPanelRow
)value!); }
127
public int IndexOf(
ToolStripPanelRow
value)
132
public void Insert(int index,
ToolStripPanelRow
value)
140
private void OnAdd(
ToolStripPanelRow
value)
148
public void Remove(
ToolStripPanelRow
value) => InnerList.Remove(value);
152
public void CopyTo(
ToolStripPanelRow
[] array, int index) => InnerList.CopyTo(array, index);
System\Windows\Forms\Controls\ToolStrips\ToolStripPanelCell.cs (3)
19
private
ToolStripPanelRow
? _parent;
38
public ToolStripPanelCell(
ToolStripPanelRow
? parent, Control control)
93
public
ToolStripPanelRow
? ToolStripPanelRow
System\Windows\Forms\Controls\ToolStrips\ToolStripPanelRow.HorizontalRowManager.cs (1)
14
public HorizontalRowManager(
ToolStripPanelRow
owner) : base(owner)
System\Windows\Forms\Controls\ToolStrips\ToolStripPanelRow.ToolStripPanelRowControlCollection.cs (3)
31
private readonly
ToolStripPanelRow
_owner;
34
public ToolStripPanelRowControlCollection(
ToolStripPanelRow
owner)
39
public ToolStripPanelRowControlCollection(
ToolStripPanelRow
owner, Control[] value)
System\Windows\Forms\Controls\ToolStrips\ToolStripPanelRow.ToolStripPanelRowManager.cs (2)
14
public ToolStripPanelRowManager(
ToolStripPanelRow
owner)
52
public
ToolStripPanelRow
Row { get; }
System\Windows\Forms\Controls\ToolStrips\ToolStripPanelRow.VerticalRowManager.cs (1)
14
public VerticalRowManager(
ToolStripPanelRow
owner)
System.Windows.Forms.Tests (25)
System\Windows\Forms\ToolStripPanel.ToolStripPanelRowCollectionTests.cs (25)
23
private void DisposeRows(
ToolStripPanelRow
[]? rows)
46
using
ToolStripPanelRow
toolStripPanelRow1 = new(_toolStripPanel);
47
ToolStripPanelRow
[] toolStripPanelRowArray = [toolStripPanelRow1];
75
ToolStripPanelRow
row = AddRowToCollection(collection: _toolStripPanelRowCollection, panel: _toolStripPanel);
76
ToolStripPanelRow
[] rows = [row];
101
Action action = () => _toolStripPanelRowCollection.AddRange(value: (
ToolStripPanelRow
[])null!);
165
var
row = AddRowToCollection(collection: _toolStripPanelRowCollection, panel: _toolStripPanel);
166
ToolStripPanelRow
[] rows = [row];
183
var
row1 = AddRowToCollection(collection: _toolStripPanelRowCollection, panel: _toolStripPanel);
184
ToolStripPanelRow
row2 = new(_toolStripPanel);
185
ToolStripPanelRow
[] rows = [row1, row2];
203
var
row1 = AddRowToCollection(collection: _toolStripPanelRowCollection, panel: _toolStripPanel);
204
var
row2 = AddRowToCollection(collection: _toolStripPanelRowCollection, panel: _toolStripPanel);
205
ToolStripPanelRow
[] rows = [row1, row2];
223
var
row = AddRowToCollection(collection: _toolStripPanelRowCollection, panel: _toolStripPanel);
224
ToolStripPanelRow
[] rows = [row];
252
var array = new
ToolStripPanelRow
[2];
279
var
row = AddRowToCollection(collection: _toolStripPanelRowCollection, panel: _toolStripPanel);
280
ToolStripPanelRow
[] rows = [row];
281
var array = new
ToolStripPanelRow
[1];
300
var array = new
ToolStripPanelRow
[1];
315
private
ToolStripPanelRow
AddRowToCollection(ToolStripPanelRowCollection collection, ToolStripPanel panel)
317
ToolStripPanelRow
row = new(panel);
322
private
ToolStripPanelRow
[] AddRowsToCollection(ToolStripPanelRowCollection collection, ToolStripPanel panel, int count)
324
var rows = new
ToolStripPanelRow
[count];