6 instantiations of ToolStripPanelRow
System.Windows.Forms (2)
System\Windows\Forms\Controls\ToolStrips\ToolStripPanel.cs (2)
909
row = new
ToolStripPanelRow
(this);
928
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);
70 references to ToolStripPanelRow
System.Windows.Forms (45)
System\Windows\Forms\Controls\ToolStrips\ISupportToolStripPanel.cs (1)
8
ToolStripPanelRow
? ToolStripPanelRow { get; set; }
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (3)
1397
internal
ToolStripPanelRow
? ToolStripPanelRow => ((ISupportToolStripPanel)this).ToolStripPanelRow;
1414
ToolStripPanelRow
? ISupportToolStripPanel.ToolStripPanelRow
1419
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;
831
ToolStripPanelRow
? currentToolStripPanelRow = draggedControl.ToolStripPanelRow;
860
ToolStripPanelRow
? row = PointToRow(clientLocation);
878
ToolStripPanelRow
? previousRow = null;
1021
public
ToolStripPanelRow
? PointToRow(Point clientLocation)
1025
foreach (
ToolStripPanelRow
row in RowsInternal)
1057
ToolStripPanelRow
row = RowsInternal[i];
1062
ToolStripPanelRow
? currentlyAssignedRow = ((ISupportToolStripPanel)cell.Control).ToolStripPanelRow;
System\Windows\Forms\Controls\ToolStrips\ToolStripPanel.ToolStripPanelRowCollection.cs (17)
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)
155
ToolStripPanelRow
? item = null;
158
item = (
ToolStripPanelRow
)(InnerList[index]);
164
public void CopyTo(
ToolStripPanelRow
[] array, int 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];