280 writes to Name
Accessibility_Core_App (130)
DataControls.Designer.cs (20)
114
this.bindingNavigatorAddNewItem.
Name
= "bindingNavigatorAddNewItem";
122
this.bindingNavigatorCountItem.
Name
= "bindingNavigatorCountItem";
131
this.bindingNavigatorDeleteItem.
Name
= "bindingNavigatorDeleteItem";
140
this.bindingNavigatorMoveFirstItem.
Name
= "bindingNavigatorMoveFirstItem";
149
this.bindingNavigatorMovePreviousItem.
Name
= "bindingNavigatorMovePreviousItem";
156
this.bindingNavigatorSeparator.
Name
= "bindingNavigatorSeparator";
163
this.bindingNavigatorPositionItem.
Name
= "bindingNavigatorPositionItem";
170
this.bindingNavigatorSeparator1.
Name
= "bindingNavigatorSeparator1";
177
this.bindingNavigatorMoveNextItem.
Name
= "bindingNavigatorMoveNextItem";
186
this.bindingNavigatorMoveLastItem.
Name
= "bindingNavigatorMoveLastItem";
193
this.bindingNavigatorSeparator2.
Name
= "bindingNavigatorSeparator2";
200
this.toolStripButton1.
Name
= "toolStripButton1";
206
this.toolStripLabel1.
Name
= "toolStripLabel1";
214
this.toolStripSplitButton1.
Name
= "toolStripSplitButton1";
222
this.toolStripDropDownButton1.
Name
= "toolStripDropDownButton1";
228
this.toolStripSeparator1.
Name
= "toolStripSeparator1";
237
this.toolStripComboBox1.
Name
= "toolStripComboBox1";
243
this.toolStripTextBox1.
Name
= "toolStripTextBox1";
251
this.toolStripProgressBar1.
Name
= "toolStripProgressBar1";
259
this.toolStripLabel2.
Name
= "toolStripLabel2";
Menu_Toolbars_controls.Designer.cs (60)
131
menuStripToolStripMenuItem.
Name
= "menuStripToolStripMenuItem";
137
item1ToolStripMenuItem.
Name
= "item1ToolStripMenuItem";
144
shortCutsToolStripMenuItem.
Name
= "shortCutsToolStripMenuItem";
150
item2ToolStripMenuItem.
Name
= "item2ToolStripMenuItem";
157
fileToolStripMenuItem.
Name
= "fileToolStripMenuItem";
166
newToolStripMenuItem.
Name
= "newToolStripMenuItem";
175
openToolStripMenuItem.
Name
= "openToolStripMenuItem";
182
toolStripSeparator.
Name
= "toolStripSeparator";
189
saveToolStripMenuItem.
Name
= "saveToolStripMenuItem";
196
saveAsToolStripMenuItem.
Name
= "saveAsToolStripMenuItem";
202
toolStripSeparator1.
Name
= "toolStripSeparator1";
209
printToolStripMenuItem.
Name
= "printToolStripMenuItem";
218
printPreviewToolStripMenuItem.
Name
= "printPreviewToolStripMenuItem";
224
toolStripSeparator2.
Name
= "toolStripSeparator2";
229
exitToolStripMenuItem.
Name
= "exitToolStripMenuItem";
236
editToolStripMenuItem.
Name
= "editToolStripMenuItem";
243
undoToolStripMenuItem.
Name
= "undoToolStripMenuItem";
250
redoToolStripMenuItem.
Name
= "redoToolStripMenuItem";
257
toolStripSeparator3.
Name
= "toolStripSeparator3";
264
cutToolStripMenuItem.
Name
= "cutToolStripMenuItem";
273
copyToolStripMenuItem.
Name
= "copyToolStripMenuItem";
282
pasteToolStripMenuItem.
Name
= "pasteToolStripMenuItem";
289
toolStripSeparator4.
Name
= "toolStripSeparator4";
294
selectAllToolStripMenuItem.
Name
= "selectAllToolStripMenuItem";
301
toolsToolStripMenuItem.
Name
= "toolsToolStripMenuItem";
308
customizeToolStripMenuItem.
Name
= "customizeToolStripMenuItem";
314
optionsToolStripMenuItem.
Name
= "optionsToolStripMenuItem";
321
helpToolStripMenuItem.
Name
= "helpToolStripMenuItem";
328
contentsToolStripMenuItem.
Name
= "contentsToolStripMenuItem";
334
indexToolStripMenuItem.
Name
= "indexToolStripMenuItem";
340
searchToolStripMenuItem.
Name
= "searchToolStripMenuItem";
346
toolStripSeparator5.
Name
= "toolStripSeparator5";
351
aboutToolStripMenuItem.
Name
= "aboutToolStripMenuItem";
358
toolStripMenuItem1.
Name
= "toolStripMenuItem1";
366
uncheckedCheckOnClickToolStripMenuItem.
Name
= "uncheckedCheckOnClickToolStripMenuItem";
375
checkCheckOnClickToolStripMenuItem.
Name
= "checkCheckOnClickToolStripMenuItem";
383
checkedCheckOnClickFToolStripMenuItem.
Name
= "checkedCheckOnClickFToolStripMenuItem";
392
indeterminateToolStripMenuItem.
Name
= "indeterminateToolStripMenuItem";
400
indeterminateCheckOnClickFToolStripMenuItem.
Name
= "indeterminateCheckOnClickFToolStripMenuItem";
407
toolStripComboBox1.
Name
= "toolStripComboBox1";
414
toolStripTextBox1.
Name
= "toolStripTextBox1";
437
toolStripDropDownButton1.
Name
= "toolStripDropDownButton1";
443
toolStripSeparator9.
Name
= "toolStripSeparator9";
448
toolStripTextBox3.
Name
= "toolStripTextBox3";
453
toolStripMenuItem3.
Name
= "toolStripMenuItem3";
463
toolStripSplitButton1.
Name
= "toolStripSplitButton1";
469
toolStripTextBox2.
Name
= "toolStripTextBox2";
474
toolStripSeparator8.
Name
= "toolStripSeparator8";
479
toolStripComboBox2.
Name
= "toolStripComboBox2";
484
toolStripMenuItem2.
Name
= "toolStripMenuItem2";
490
toolStripStatusLabel1.
Name
= "toolStripStatusLabel1";
498
toolStripProgressBar1.
Name
= "toolStripProgressBar1";
516
newToolStripButton.
Name
= "newToolStripButton";
522
toolStripSeparator7.
Name
= "toolStripSeparator7";
530
toolStripButton1.
Name
= "toolStripButton1";
540
toolStripButton2.
Name
= "toolStripButton2";
552
toolStripButton3.
Name
= "toolStripButton3";
563
toolStripButton4.
Name
= "toolStripButton4";
575
toolStripButton5.
Name
= "toolStripButton5";
586
toolStripButton6.
Name
= "toolStripButton6";
ToolStripContainer.Designer.cs (50)
155
this.toolStripButton1.
Name
= "toolStripButton1";
166
this.toolStripSplitButton1.
Name
= "toolStripSplitButton1";
172
this.toolStripToolStripMenuItem.
Name
= "toolStripToolStripMenuItem";
181
this.newToolStripButton.
Name
= "newToolStripButton";
190
this.openToolStripButton.
Name
= "openToolStripButton";
199
this.saveToolStripButton.
Name
= "saveToolStripButton";
208
this.printToolStripButton.
Name
= "printToolStripButton";
214
this.toolStripSeparator6.
Name
= "toolStripSeparator6";
222
this.cutToolStripButton.
Name
= "cutToolStripButton";
231
this.copyToolStripButton.
Name
= "copyToolStripButton";
240
this.pasteToolStripButton.
Name
= "pasteToolStripButton";
246
this.toolStripSeparator7.
Name
= "toolStripSeparator7";
254
this.helpToolStripButton.
Name
= "helpToolStripButton";
267
this.toolStripComboBox1.
Name
= "toolStripComboBox1";
295
this.toolStripDropDownButton1.
Name
= "toolStripDropDownButton1";
301
this.statusStripToolStripMenuItem.
Name
= "statusStripToolStripMenuItem";
310
this.toolStripSplitButton2.
Name
= "toolStripSplitButton2";
316
this.toolStripStatusLabel1.
Name
= "toolStripStatusLabel1";
323
this.toolStripStatusLabel2.
Name
= "toolStripStatusLabel2";
350
this.menuStripToolStripMenuItem.
Name
= "menuStripToolStripMenuItem";
357
this.menuStripItem1ToolStripMenuItem.
Name
= "menuStripItem1ToolStripMenuItem";
375
this.fileToolStripMenuItem.
Name
= "fileToolStripMenuItem";
384
this.newToolStripMenuItem.
Name
= "newToolStripMenuItem";
392
this.openToolStripMenuItem.
Name
= "openToolStripMenuItem";
398
this.toolStripSeparator.
Name
= "toolStripSeparator";
405
this.saveToolStripMenuItem.
Name
= "saveToolStripMenuItem";
411
this.saveAsToolStripMenuItem.
Name
= "saveAsToolStripMenuItem";
417
this.toolStripSeparator1.
Name
= "toolStripSeparator1";
424
this.printToolStripMenuItem.
Name
= "printToolStripMenuItem";
432
this.printPreviewToolStripMenuItem.
Name
= "printPreviewToolStripMenuItem";
438
this.toolStripSeparator2.
Name
= "toolStripSeparator2";
443
this.exitToolStripMenuItem.
Name
= "exitToolStripMenuItem";
458
this.editToolStripMenuItem.
Name
= "editToolStripMenuItem";
465
this.undoToolStripMenuItem.
Name
= "undoToolStripMenuItem";
471
this.redoToolStripMenuItem.
Name
= "redoToolStripMenuItem";
477
this.toolStripSeparator3.
Name
= "toolStripSeparator3";
484
this.cutToolStripMenuItem.
Name
= "cutToolStripMenuItem";
492
this.copyToolStripMenuItem.
Name
= "copyToolStripMenuItem";
500
this.pasteToolStripMenuItem.
Name
= "pasteToolStripMenuItem";
506
this.toolStripSeparator4.
Name
= "toolStripSeparator4";
511
this.selectAllToolStripMenuItem.
Name
= "selectAllToolStripMenuItem";
520
this.toolsToolStripMenuItem.
Name
= "toolsToolStripMenuItem";
527
this.customizeToolStripMenuItem.
Name
= "customizeToolStripMenuItem";
533
this.optionsToolStripMenuItem.
Name
= "optionsToolStripMenuItem";
545
this.helpToolStripMenuItem.
Name
= "helpToolStripMenuItem";
552
this.contentsToolStripMenuItem.
Name
= "contentsToolStripMenuItem";
558
this.indexToolStripMenuItem.
Name
= "indexToolStripMenuItem";
564
this.searchToolStripMenuItem.
Name
= "searchToolStripMenuItem";
570
this.toolStripSeparator5.
Name
= "toolStripSeparator5";
575
this.aboutToolStripMenuItem.
Name
= "aboutToolStripMenuItem";
DesignSurface (14)
MainForm.Designer.cs (14)
186
this.editToolStripMenuItem.
Name
= "editToolStripMenuItem";
192
this.ToolStripMenuItemUnDo.
Name
= "ToolStripMenuItemUnDo";
200
this.ToolStripMenuItemReDo.
Name
= "ToolStripMenuItemReDo";
208
this.toolStripSeparator3.
Name
= "toolStripSeparator3";
215
this.ToolStripMenuItemCut.
Name
= "ToolStripMenuItemCut";
225
this.ToolStripMenuItemCopy.
Name
= "ToolStripMenuItemCopy";
235
this.ToolStripMenuItemPaste.
Name
= "ToolStripMenuItemPaste";
243
this.ToolStripMenuItemDelete.
Name
= "ToolStripMenuItemDelete";
251
this.ToolStripMenuItemKeyInvokeSmartTag.
Name
= "ToolStripMenuItemKeyInvokeSmartTag";
259
this.toolStripSeparator4.
Name
= "toolStripSeparator4";
266
this.toolStripMenuItemTools.
Name
= "toolStripMenuItemTools";
272
this.toolStripMenuItemTabOrder.
Name
= "toolStripMenuItemTabOrder";
281
this.helpToolStripMenuItem.
Name
= "helpToolStripMenuItem";
287
this.ToolStripMenuItemAbout.
Name
= "ToolStripMenuItemAbout";
System.Windows.Forms (37)
System\Windows\Forms\Controls\ToolStrips\ToolStripComboBox.cs (1)
35
Name
= name;
System\Windows\Forms\Controls\ToolStrips\ToolStripControlHost.cs (1)
53
Name
= name;
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.cs (1)
176
Name
= name;
System\Windows\Forms\Controls\ToolStrips\ToolStripMenuItem.cs (1)
515
menuItem.
Name
= Name;
System\Windows\Forms\Controls\ToolStrips\ToolStripProgressBar.cs (1)
32
Name
= name;
System\Windows\Forms\Controls\ToolStrips\ToolStripTextBox.cs (1)
43
Name
= name;
System\Windows\Forms\DataBinding\BindingNavigator.cs (11)
153
MoveFirstItem.
Name
= $"{ch}indingNavigatorMoveFirstItem";
154
MovePreviousItem.
Name
= $"{ch}indingNavigatorMovePreviousItem";
155
MoveNextItem.
Name
= $"{ch}indingNavigatorMoveNextItem";
156
MoveLastItem.
Name
= $"{ch}indingNavigatorMoveLastItem";
157
PositionItem.
Name
= $"{ch}indingNavigatorPositionItem";
158
CountItem.
Name
= $"{ch}indingNavigatorCountItem";
159
AddNewItem.
Name
= $"{ch}indingNavigatorAddNewItem";
160
DeleteItem.
Name
= $"{ch}indingNavigatorDeleteItem";
161
separator1.
Name
= $"{ch}indingNavigatorSeparator1";
162
separator2.
Name
= $"{ch}indingNavigatorSeparator2";
163
separator3.
Name
= $"{ch}indingNavigatorSeparator3";
System\Windows\Forms\Printing\PrintPreviewDialog.cs (20)
803
_printToolStripButton.
Name
= "printToolStripButton";
819
_zoomToolStripSplitButton.
Name
= "zoomToolStripSplitButton";
826
_autoToolStripMenuItem.
Name
= "autoToolStripMenuItem";
831
_toolStripMenuItem1.
Name
= "toolStripMenuItem1";
836
_toolStripMenuItem2.
Name
= "toolStripMenuItem2";
841
_toolStripMenuItem3.
Name
= "toolStripMenuItem3";
846
_toolStripMenuItem4.
Name
= "toolStripMenuItem4";
851
_toolStripMenuItem5.
Name
= "toolStripMenuItem5";
856
_toolStripMenuItem6.
Name
= "toolStripMenuItem6";
861
_toolStripMenuItem7.
Name
= "toolStripMenuItem7";
866
_toolStripMenuItem8.
Name
= "toolStripMenuItem8";
869
_separatorToolStripSeparator.
Name
= "separatorToolStripSeparator";
872
_onePageToolStripButton.
Name
= "onepageToolStripButton";
876
_twoPagesToolStripButton.
Name
= "twopagesToolStripButton";
880
_threePagesToolStripButton.
Name
= "threepagesToolStripButton";
884
_fourPagesToolStripButton.
Name
= "fourpagesToolStripButton";
888
_sixPagesToolStripButton.
Name
= "sixpagesToolStripButton";
891
_separatorToolStripSeparator1.
Name
= "separatorToolStripSeparator1";
894
_closeToolStripButton.
Name
= "closeToolStripButton";
907
_pageToolStripLabel.
Name
= "pageToolStripLabel";
System.Windows.Forms.Design (11)
System\Windows\Forms\Design\BindingNavigatorDesigner.cs (1)
107
item.
Name
= item?.Site?.Name;
System\Windows\Forms\Design\TableLayoutPanelDesigner.cs (7)
318
add.
Name
= "add";
323
insert.
Name
= "insert";
328
delete.
Name
= "delete";
337
label.
Name
= "sizemode";
341
absolute.
Name
= "absolute";
346
percent.
Name
= "percent";
351
autosize.
Name
= "autosize";
System\Windows\Forms\Design\ToolStripDropDownDesigner.cs (1)
394
Name
= Component.Site.Name
System\Windows\Forms\Design\ToolStripTemplateNode.cs (2)
898
_centerTextBox.
Name
= "centerTextBox";
1383
_centerLabel.
Name
= CenterLabelName;
System.Windows.Forms.Tests (20)
System\Windows\Forms\AccessibleObjects\ToolStripDropDownButton.ToolStripDropDownButtonAccessibleObjectTests.cs (1)
111
toolStripDropDownButton.
Name
= name;
System\Windows\Forms\AccessibleObjects\ToolStripItemAccessibleObjectTests.cs (1)
101
item.
Name
= "Name1";
System\Windows\Forms\AccessibleObjects\ToolStripTextBox.ToolStripTextBoxAccessibleObjectTests.cs (1)
15
Name
= "Name1",
System\Windows\Forms\Layout\TableLayoutSettingsTests.cs (1)
1742
Name
= "Name"
System\Windows\Forms\ToolStripItemCollectionTests.cs (11)
21
Name
= "name1"
25
Name
= "name2"
29
Name
= "name2"
34
Name
= "name1"
38
Name
= "name2"
42
Name
= "name2"
76
Name
= "name1"
80
Name
= "name2"
84
Name
= "name2"
129
items.Select(item => new ToolStripButton(item.Name) {
Name
= item.Key }).ToArray();
147
ToolStripItem[] toolStripItems = items.Select(item => new ToolStripButton(item.Name) {
Name
= item.Key }).ToArray();
System\Windows\Forms\ToolStripItemTests.cs (3)
6193
Name
= value
6198
item.
Name
= value;
6221
item.
Name
= value;
System\Windows\Forms\ToolStripMenuItemTests.cs (1)
295
Name
= "Name",
System\Windows\Forms\ToolStripTextBoxTests.cs (1)
27
_toolStripTextBox.
Name
= name;
System.Windows.Forms.UI.IntegrationTests (2)
DragDropTests.cs (2)
973
Name
= "toolStripDropDownButton",
1001
Name
= "dragAcceptItem",
WinFormsControlsTest (66)
DragDrop.cs (4)
451
Name
= "catToolStripDropDownButton",
476
Name
= "DragAcceptItem",
487
Name
= "NyanCatItem",
498
Name
= "AsciiCatItem",
MenuStripAndCheckedListBox.Designer.cs (24)
90
this.fileToolStripMenuItem.
Name
= "fileToolStripMenuItem";
96
this.newToolStripMenuItem.
Name
= "newToolStripMenuItem";
104
this.openToolStripMenuItem1.
Name
= "openToolStripMenuItem1";
111
this.toolStripSeparator1.
Name
= "toolStripSeparator1";
121
this.memoryCardFileToolStripMenuItem.
Name
= "memoryCardFileToolStripMenuItem";
130
this.navigationToolStripMenuItem.
Name
= "navigationToolStripMenuItem";
139
this.newToolStripMenuItem1.
Name
= "newToolStripMenuItem1";
147
this.settingsEditorToolStripMenuItem.
Name
= "settingsEditorToolStripMenuItem";
153
this.openToolStripMenuItem.
Name
= "openToolStripMenuItem";
159
this.saveToolStripMenuItem.
Name
= "saveToolStripMenuItem";
165
this.saveAsToolStripMenuItem.
Name
= "saveAsToolStripMenuItem";
171
this.exitToolStripMenuItem1.
Name
= "exitToolStripMenuItem1";
177
this.toolStripSeparator2.
Name
= "toolStripSeparator2";
182
this.exitToolStripMenuItem.
Name
= "exitToolStripMenuItem";
188
this.editToolStripMenuItem.
Name
= "editToolStripMenuItem";
194
this.viewToolStripMenuItem.
Name
= "viewToolStripMenuItem";
200
this.insertToolStripMenuItem.
Name
= "insertToolStripMenuItem";
206
this.checkStateSamplesToolStripMenuItem.
Name
= "checkStateSamplesToolStripMenuItem";
219
this.uncheckedToolStripMenuItem.
Name
= "uncheckedToolStripMenuItem";
227
this.uncheckedCheckOnClickToolStripMenuItem.
Name
= "uncheckedCheckOnClickToolStripMenuItem";
237
this.checkedToolStripMenuItem.
Name
= "checkedToolStripMenuItem";
247
this.checkedCheckOnClickToolStripMenuItem.
Name
= "checkedCheckOnClickToolStripMenuItem";
256
this.indeterminateToolStripMenuItem.
Name
= "indeterminateToolStripMenuItem";
266
this.indeterminateCheckOnClickToolStripMenuItem.
Name
= "indeterminateCheckOnClickToolStripMenuItem";
ToolStripSeparatorPreferredSize.cs (2)
57
_toolStripLabel1.
Name
= "toolStripLabel1";
63
_toolStripLabel2.
Name
= "toolStripLabel2";
ToolStripTests.Designer.cs (36)
142
this.toolStrip4_Label1.
Name
= "toolStrip4_Label1";
149
this.toolStrip4_MenuItem1.
Name
= "toolStrip4_MenuItem1";
156
this.toolStrip4_SubMenuItem.
Name
= "toolStrip4_SubMenuItem";
164
this.toolStrip2_Button1.
Name
= "toolStrip2_Button1_Unchecked";
173
this.toolStrip2_Button2.
Name
= "toolStrip2_Button2_Checked";
181
this.toolStrip2_Button3.
Name
= "toolStrip2_Button3_Indeterminate";
190
this.toolStrip2_Button4.
Name
= "toolStrip2_Button4_Checkable";
197
this.toolStrip2_Button5.
Name
= "toolStrip2_Button5";
204
this.toolStrip2_Button6.
Name
= "toolStrip2_Button6";
210
this.toolStrip2_SplitButton1_ChildButton1.
Name
= "toolStrip2_SplitButton1_ChildButton1";
216
this.toolStrip2_SplitButton1_ChildButton2.
Name
= "toolStrip2_SplitButton1_ChildButton2";
223
this.toolStrip3_MenuItem1.
Name
= "toolStripMenuItem_checked";
231
this.toolStrip3_MenuItem2.
Name
= "toolStripMenuItemWithDropDownItem";
239
this.uncheckedCheckOnClickToolStripMenuItem.
Name
= "uncheckedCheckOnClickToolStripMenuItem";
248
this.checkCheckOnClickToolStripMenuItem.
Name
= "checkCheckOnClickToolStripMenuItem";
256
this.thirdLevelItem.
Name
= "thirdLevelItem";
264
this.thirdLevelButton.
Name
= "thirdLevelButton";
271
this.toolStripComboBox2.
Name
= "toolStripComboBox2";
279
this.toolStripTextBox2.
Name
= "toolStripTextBox2";
289
this.toolStrip2_SplitButton2.
Name
= "toolStrip2_SplitButton2";
296
this.toolStripMenuItem1.
Name
= "toolStripMenuItem1";
306
this.toolStrip2_DropDownButton2.
Name
= "toolStrip2_DropDownButton2";
313
this.toolStripMenuItem2.
Name
= "toolStripMenuItem2";
322
this.checkedCheckOnClickFToolStripMenuItem.
Name
= "checkedCheckOnClickFToolStripMenuItem";
331
this.indeterminateToolStripMenuItem.
Name
= "indeterminateToolStripMenuItem";
339
this.indeterminateCheckOnClickFToolStripMenuItem.
Name
= "indeterminateCheckOnClickFToolStripMenuItem";
350
this.toolStrip2_SplitButton1.
Name
= "toolStrip2_SplitButton1";
356
this.toolStrip2_DropDownButton1_ChildButton1.
Name
= "toolStrip2_DropDownButton1_ChildButton1";
362
this.toolStrip2_DropDownButton1_ChildButton2.
Name
= "toolStrip2_DropDownButton1_ChildButton2";
372
this.toolStrip2_DropDownButton1.
Name
= "toolStrip2_DropDownButton1";
399
this.toolStripProgressBar1.
Name
= "toolStripProgressBar1";
405
this.toolStripLabel1.
Name
= "toolStripLabel1";
411
this.toolStripTextBox1.
Name
= "toolStripTextBox1";
417
this.toolStripComboBox1.
Name
= "toolStripComboBox1";
423
this.toolStripProgressBar2.
Name
= "toolStripProgressBar2";
429
this.toolStripStatusLabel1.
Name
= "toolStripStatusLabel1";
57 references to Name
System.Windows.Forms (8)
System\Windows\Forms\Controls\ToolStrips\ToolStripItemCollection.cs (3)
259
if (WindowsFormsUtils.SafeCompareStrings(itemsToLookIn[i].
Name
, key, ignoreCase: true))
346
if (WindowsFormsUtils.SafeCompareStrings(this[_lastAccessedIndex].
Name
, key, /* ignoreCase = */ true))
355
if (WindowsFormsUtils.SafeCompareStrings(this[i].
Name
, key, /* ignoreCase = */ true))
System\Windows\Forms\Controls\ToolStrips\ToolStripMenuItem.cs (1)
515
menuItem.Name =
Name
;
System\Windows\Forms\Controls\ToolStrips\ToolStripSettingsManager.cs (4)
83
itemNames.Append(toolStrip.Items[i].
Name
?? "null");
221
if (!string.IsNullOrEmpty(item.
Name
))
223
Debug.Assert(!itemLocationHash.ContainsKey(item.
Name
), "WARNING: ToolStripItem name not unique.");
224
itemLocationHash[item.
Name
] = toolStrip;
System.Windows.Forms.Design (6)
System\Windows\Forms\Design\BindingNavigatorDesigner.cs (1)
104
host?.Container.Add(item, DesignerUtils.GetUniqueSiteName(host, item.
Name
));
System\Windows\Forms\Design\ToolStripDropDownDesigner.cs (1)
396
_menuItem.Text = (_dropDown is not null) ? _dropDown.GetType().Name : _menuItem.
Name
;
System\Windows\Forms\Design\ToolStripItemDesigner.cs (2)
655
ToolStripItem.AccessibleName = ToolStripItem.
Name
;
734
string name = ToolStripItem.
Name
;
System\Windows\Forms\Design\ToolStripMenuItemDesigner.cs (1)
730
MenuItem.DropDown.Text = $"{MenuItem.
Name
}.DropDown";
System\Windows\Forms\Design\ToolStripTemplateNode.cs (1)
2044
if (item is not null && string.Equals(item.
Name
, CenterLabelName, StringComparison.InvariantCulture) && SystemInformation.HighContrast)
System.Windows.Forms.Tests (43)
BindingNavigatorTests.cs (14)
60
Assert.Equal("bindingNavigatorPositionItem", bn.PositionItem.
Name
);
61
Assert.Equal("bindingNavigatorCountItem", bn.CountItem.
Name
);
102
Assert.Equal(itemNames[i], item.
Name
.Trim());
199
navigator.Items[0].
Name
.Should().Be("bindingNavigatorMoveFirstItem");
200
navigator.Items[1].
Name
.Should().Be("bindingNavigatorMovePreviousItem");
201
navigator.Items[2].
Name
.Should().Be("bindingNavigatorSeparator1");
202
navigator.Items[3].
Name
.Should().Be("bindingNavigatorPositionItem");
203
navigator.Items[4].
Name
.Should().Be("bindingNavigatorCountItem");
204
navigator.Items[5].
Name
.Should().Be("bindingNavigatorSeparator2");
205
navigator.Items[6].
Name
.Should().Be("bindingNavigatorMoveNextItem");
206
navigator.Items[7].
Name
.Should().Be("bindingNavigatorMoveLastItem");
207
navigator.Items[8].
Name
.Should().Be("bindingNavigatorSeparator3");
208
navigator.Items[9].
Name
.Should().Be("bindingNavigatorAddNewItem");
209
navigator.Items[10].
Name
.Should().Be("bindingNavigatorDeleteItem");
System\Windows\Forms\AccessibleObjects\ToolStripDropDownButton.ToolStripDropDownButtonAccessibleObjectTests.cs (1)
122
toolStripDropDownButton.
Name
.Should().Be(name);
System\Windows\Forms\ToolStripButtonTests.cs (6)
71
Assert.Empty(item.
Name
);
152
Assert.Empty(item.
Name
);
239
Assert.Empty(item.
Name
);
329
Assert.Empty(item.
Name
);
417
Assert.Empty(item.
Name
);
515
Assert.Equal(expectedName, item.
Name
);
System\Windows\Forms\ToolStripComboBoxTests.cs (1)
29
toolStripComboBox.
Name
.Should().Be(expectedName);
System\Windows\Forms\ToolStripControlHostTests.cs (1)
100
Assert.Empty(item.
Name
);
System\Windows\Forms\ToolStripDropDownItemTests.cs (4)
71
Assert.Empty(item.
Name
);
160
Assert.Empty(item.
Name
);
259
Assert.Equal(expectedName, item.
Name
);
367
Assert.Empty(item.
Name
);
System\Windows\Forms\ToolStripItemTests.cs (8)
70
Assert.Empty(item.
Name
);
155
Assert.Empty(item.
Name
);
250
Assert.Equal(expectedName, item.
Name
);
6179
Assert.Equal(expected, item.
Name
);
6183
Assert.Equal(expected, item.
Name
);
6195
Assert.Equal(value, item.
Name
);
6199
Assert.Equal(value, item.
Name
);
6222
Assert.Equal("name", item.
Name
);
System\Windows\Forms\ToolStripMenuItemTests.cs (4)
78
Assert.Empty(item.
Name
?? string.Empty);
216
item.
Name
.Should().Be(name);
340
clone.
Name
.Should().Be(original.
Name
);
System\Windows\Forms\ToolStripSeparatorTests.cs (1)
68
Assert.Empty(item.
Name
);
System\Windows\Forms\ToolStripSplitButtonTests.cs (1)
146
toolStripSplitButton.
Name
.Should().Be("TestButton");
System\Windows\Forms\ToolStripStatusLabelTests.cs (1)
79
toolStripStatusLabel.
Name
.Should().Be("SampleName");
System\Windows\Forms\ToolStripTextBoxTests.cs (1)
28
_toolStripTextBox.
Name
.Should().Be(name);