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